app/assets/javascripts/admin/post.js in camaleon_cms-1.0.3 vs app/assets/javascripts/admin/post.js in camaleon_cms-1.0.4
- old
+ new
@@ -130,10 +130,10 @@
App_post.save_draft_ajax();
var ar = href.split("draft_id=");
ar[1] = post_draft_id;
$(this).attr('href', ar.join("draft_id="))
});
- $link.find('.btn-edit').click(function(){ log(lang);
+ $link.find('.btn-edit').click(function(){
var $btn = $(this);
var $btn_edit = $('<a href="#" class="btn btn-default btn-xs btn-edit">'+I18n("button.accept")+'</a> <a href="#" class="btn-cancel">'+I18n("button.cancel")+'</a>');
var $label = $link.find('.sl-url');
var $input = $("<input type='text' />");
$label.hide().after($input);
\ No newline at end of file