caboose-cms 0.2.52 → 0.2.54

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmVhNTA5ZTUwYmM5ZGM2ZmUzZjYyMzc1MmQwN2M0YTU3Njg3MGE2Nw==
4
+ YjEwODkxM2E1ZTU3OTgwNTUwMWFmODY4MzQyZjU0N2Y1YWVmZGY2OQ==
5
5
  data.tar.gz: !binary |-
6
- M2UwMzZmNzQ5MTI0ZWI0M2IxYjFhZjZlOTYxZTU5MGI1ODc2MjdiNQ==
6
+ YzFjNTlmOWZiMWQ4NWQwMjc3NDc2MTNjNGQ1NjYzMDVmYWZiM2FmNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YWM2YWZhMzVhMzU0ZDg5ZjI1OTBhMzU4YjExNTM3ZmMwYjZiMDkwYWQ0MWUz
10
- Yjc0ODdjMWJkZWU1MTE5N2UyYzk0NDhmYmQ4ZmU4NTk2Mzc4NjAzYzc2MDkw
11
- NTE2MTcyMThhNzg2NmIyNDFlMDY1NzliOGEyZGQ4MTI5ZDQyMTA=
9
+ YTUwYjlhOWJjY2I5MzJmNzRlMGVjZDM1MTNlNjBhYThkMzFiZjZkMzMyNzk0
10
+ Y2RiZGVjY2M4NzliYjlhYWMwNGY1OTQ3ZmFhYzljZThlYjg4NTViZTU3N2Q5
11
+ OGM2NTUwYmY2ZjljNTA5ZmI3NDMzYWI4YjliNmIzYWRlNGM1NmY=
12
12
  data.tar.gz: !binary |-
13
- NGZkMjY1NDYzZmVjM2I4MGFkNTNhOTU2NTc2MWNkZDM0YTYyNjgxYWQ1OTky
14
- OTg1MTgyZGRkMTY4ZGM2OTI1NTA0Y2ZmMThjYTZmZmY4N2MzMGJlNTM5NGVi
15
- YzU3NTNkMDIzNzk5OGJlZGM0ZjU2OWM2ZGIzNmU5MWE1ZDJkNjQ=
13
+ ODg0MDU1Yjc2NjVmM2UxN2FhNTczYTJkZjJmMDdlMGRlM2IyNWY4YzI3MjJj
14
+ YWMxNDQzYWQ4ZTI0NmM2NTAxYmExZjJjMDgwYTBlOTRkMjQ1OTkzZDY5YWIx
15
+ OWJmM2FjZmRhMWFlOWVmNGMwZDFmYTRkYjBiNDNhNjM2NzJkZTA=
@@ -17,6 +17,7 @@ Attribute.prototype = {
17
17
  align: 'left',
18
18
  before_update: false,
19
19
  after_update: false,
20
+ debug: false,
20
21
 
21
22
  update_url: false,
22
23
  options_url: false,
@@ -53,19 +53,15 @@ BoundImage = BoundControl.extend({
53
53
  $('#'+this.el+'_container').append($('<div/>')
54
54
  .attr('id', this.el + '_message')
55
55
  );
56
- $('#'+this.el+'_container').append($('<iframe/>')
56
+ iframe = $('<iframe/>')
57
57
  .attr('name', this.el + '_iframe')
58
- .attr('id', this.el + '_iframe')
59
- .css('width', 0)
60
- .css('height', 0)
61
- .css('border', 0)
62
- //.css('width', '100%')
63
- //.css('height', 600)
64
- //.css('background', '#fff')
65
- );
66
- $('#'+this.el+'_container').append($('<br/>')
67
- .css('clear', 'both')
68
- );
58
+ .attr('id', this.el + '_iframe');
59
+ if (this.attribute.debug)
60
+ iframe.css('width', '100%').css('height', 600).css('background', '#fff');
61
+ else
62
+ iframe.css('width', 0).css('height', 0).css('border', 0);
63
+ $('#'+this.el+'_container').append(iframe);
64
+ $('#'+this.el+'_container').append($('<br/>').css('clear', 'both'));
69
65
  },
70
66
 
71
67
  post_upload: function() {
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.2.52'
2
+ VERSION = '0.2.54'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.52
4
+ version: 0.2.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-26 00:00:00.000000000 Z
11
+ date: 2013-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails