app/assets/javascripts/admin/post.js in camaleon_cms-1.0.4 vs app/assets/javascripts/admin/post.js in camaleon_cms-1.0.5
- old
+ new
@@ -166,11 +166,11 @@
return false;
});
}
});
- tinymce.init($.extend({}, DATA.tiny_mce.advanced, {selector: '.tinymce_textarea:not(.translated-item)', language: CURRENT_LOCALE, height: '480px', onPostRender: onEditorPostRender}));
+ tinymce.init(cama_get_tinymce_settings({selector: '.tinymce_textarea:not(.translated-item)', height: '480px', onPostRender: onEditorPostRender}));
$form.validate();
/*
* skip translation inputs
submitHandler: function(form){
@@ -180,10 +180,10 @@
* */
$("#post_status").change(function(){
$('#post-actions .btn[data-type]').hide();
$('#post-actions .btn[data-type="'+ $(this).val() +'"]').show();
- })
+ });
// here all later actions
var form_later_actions = function(){
/*********** scroller (fix buttons position) ***************/
var panel_scroll = $("#form-post > .content-frame-right");
\ No newline at end of file