pyk 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/assets/javascripts/app/pyk_master.js +50 -50
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDc5NDQ3MWVkNTE0OTVkMzFjZmQ0YTRmMjU3ZDU5NTc0ZTZjMDQ2Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWU0OTllZmVmZWYyY2ZkODUwMDY3ZWUzMTFkNzRhMWVmYzgxOWM4Ng==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODhjMjEwZGJmYWIyMzI5NzA1MTExNTJkNzMyNzY5YzIyYjNlNjllYTI4Yzk0
|
10
|
+
ZmNjODRiMjk3MTg3NTUzYzE4Mzg2N2NmOGE1MjliNmFjMmI0NWEyNWVmMWI2
|
11
|
+
NjNhZTcwNDQzYzQ5Y2ZkM2I0YzJiM2E0YWI2YWI4N2U5NGYzMjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTI4MTQ1ZjEyNGE4MzJjODYyZTBiZmU0ZGRmNTJjZGEzODVhZDA1ZGQ2Y2Q0
|
14
|
+
NDQzNDM3NTAxMTRjZWM3NWM4NmQ4Mzg4MzU4MjUyYjZmYjk4ZDU0MzkwMTgx
|
15
|
+
YTI3MmRhNTlkM2QzYTBlMTFiYTZhYTBlNTA1NDAzYzZjYTlmZGI=
|
@@ -1,52 +1,52 @@
|
|
1
1
|
$(document).ready(function(){
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
2
|
+
$("#tooltip-below").tooltip({
|
3
|
+
"placement": "bottom"
|
4
|
+
});
|
5
|
+
|
6
|
+
//textarea increase / decrease
|
7
|
+
$(".text_area_animate").focus(function() {
|
8
|
+
|
9
|
+
var val_length = $(this).val().length;
|
10
|
+
var size = $(this).attr("expand-height");
|
11
|
+
|
12
|
+
if (val_length <= 0 ) {
|
13
|
+
$(this).animate({"height": size}, "fast" );
|
14
|
+
}
|
15
|
+
}
|
16
|
+
);
|
17
|
+
|
18
|
+
$(".text_area_animate").focusout(function() {
|
19
|
+
|
20
|
+
var val_length = $(this).val().length;
|
21
|
+
var row = $(this).attr("row"); // 1 row = 16px
|
22
|
+
var size = $(this).attr("expand-height");
|
23
|
+
|
24
|
+
if (val_length <= 0 ) {
|
25
|
+
|
26
|
+
$(this).animate({"height": "30px" }, "fast" );
|
27
|
+
}
|
28
|
+
|
29
|
+
}
|
30
|
+
);
|
31
|
+
|
32
|
+
//form hint
|
33
|
+
|
34
|
+
$(".form-control").focus(function() {
|
35
|
+
var text_hint = $(this).attr("hint");
|
36
|
+
if (text_hint.length > 0) {
|
37
|
+
var text_id = $(this).attr("id");
|
38
|
+
var text_hint = $(this).attr("hint");
|
39
|
+
$("#" + text_id).after("<span class='input-error-hint'>"+ text_hint+ "</span>");
|
40
|
+
$(".input-error-hint").css("font-size", "11px").css("color", "grey");
|
41
|
+
}
|
42
|
+
});
|
43
|
+
|
44
|
+
Tinycon.setOptions({
|
45
|
+
width: 7,
|
46
|
+
height: 9,
|
47
|
+
font: '10px arial',
|
48
|
+
colour: '#ffffff',
|
49
|
+
background: '#549A2F',
|
50
|
+
fallback: true
|
51
|
+
});
|
52
52
|
});
|