caboose-cms 0.2.42 → 0.2.43
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/caboose/model/attribute.js +2 -0
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTcxNzllMzVlNzc5YTQ5NjQzZDY5ZDBjNDdiNDRhMmQyMDMxZDM0Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWM4YmM4YjY1MzdmN2I5MDhhZmU1ZjIwYTVkMGVlOWVhY2M0YWE3MQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWEwMWFkZTQ2NTE5NmM0ZjNkZTgwMWU2MGNiOGQ1NWU4Y2ViMjBiNzI0ZTZm
|
10
|
+
MTRlZGY1YjA4NThhNzUxNzQ3YzhjYjc5Y2Y0YzBjYmI0MDY5MTBiYTkxNWQ4
|
11
|
+
OGEwZDY0NWEyYjc2NThlMGNhZDBiNWViYzIzOWFlMjc1N2NmZTM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjJiNjNmOTI4YTY4YjIwMTRjNjY1MzVjYzFhOWE5MmE5NWQ2NDliM2EyMmVh
|
14
|
+
NjNmNjRiYzllYjA2YWY1OTg3MzM3ZGM5YjQ3ZDlhYWI0NmRiYzUwY2EwMzE1
|
15
|
+
MjdkNDEzMWI0OTVkNDYyY2YzZGFjMzRkYmI3MGM4OTAyZmNkOWY=
|
@@ -15,6 +15,7 @@ Attribute.prototype = {
|
|
15
15
|
empty_text: 'empty',
|
16
16
|
fixed_placeholder: true,
|
17
17
|
align: 'left',
|
18
|
+
before_update: false,
|
18
19
|
after_update: false,
|
19
20
|
|
20
21
|
update_url: false,
|
@@ -22,6 +23,7 @@ Attribute.prototype = {
|
|
22
23
|
options: false,
|
23
24
|
|
24
25
|
save: function(after) {
|
26
|
+
if (this.before_update) this.before_update();
|
25
27
|
var this2 = this;
|
26
28
|
$.ajax({
|
27
29
|
url: this.update_url,
|
data/lib/caboose/version.rb
CHANGED