Commit 6203c212bfbef1e3edab5ef33116022cba816c52

Authored by Karpikau Andrei
1 parent b92fdbb7

check render block element

... ... @@ -9,7 +9,7 @@ var csrf_token = $('meta[name=csrf-token]').attr('content'),
9 9 $cell.append($content);
10 10
11 11 $content.find('.edit').click(function(){
12   - var $block = $(this).closest('.col'),
  12 + var $block = $(this).closest('.content-wrapper'),
13 13 structure_id = $block.data('id');
14 14
15 15 var $iframe = $('<iframe name="content-edit" style="width:500px;height:500px;position: absolute;top: 10%;left: 50%;transform: translateX(-50%);border: 1px solid black;z-index:10000;background:#FFFFFF;" src = "'+ edit_layer_url + '&structure_id=' + structure_id +'">Sorry your browser does not support inline frames.</iframe>');
... ... @@ -19,7 +19,7 @@ var csrf_token = $('meta[name=csrf-token]').attr('content'),
19 19 }
20 20
21 21
22   - $('.col').each(function(){
  22 + $('.content-wrapper').each(function(){
23 23 var $cell = $(this);
24 24
25 25 initCell($cell);
... ...
1   -<div class="" <%= @data_attributes %>>
  1 +<div class="content-wrapper" <%= @data_attributes %>>
2 2 <%= @content %>
3 3 </div>
\ No newline at end of file
... ...
1   -<div class="col-md-<%= @cell['size'] %> col <%= @class_name %>" <%= @data_attributes %> >
  1 +<div class="content-wrapper col-md-<%= @cell['size'] %> col <%= @class_name %>" <%= @data_attributes %> >
2 2 <%= @content %>
3 3 </div>
\ No newline at end of file
... ...
1   -<div class="row-fluid clearfix">
  1 +<div class="content-wrapper row-fluid clearfix">
2 2 <%= @content %>
3 3 </div>
\ No newline at end of file
... ...
1 1 module Kanjai
2   - VERSION = "0.0.181"
  2 + VERSION = "0.0.182"
3 3 end
... ...