[FIX] CKeditor customization

bzr revid: fme@openerp.com-20130827134259-pftz0iar2c5eqvge
This commit is contained in:
Fabien Meghazi
2013-08-27 15:42:59 +02:00
parent 82a020554c
commit f6fac87a45
+3 -3
View File
@@ -32,6 +32,9 @@
};
website.init_editor = function () {
CKEDITOR.on('dialogDefinition', function (ev) {
(alter_dialog[ev.data.name] || noop)(ev.data.definition);
});
var editor = new website.EditorBar();
editor.prependTo($('body'));
$('body').css('padding-top', '50px'); // Not working properly: editor.$el.outerHeight());
@@ -820,9 +823,6 @@
})
}
};
CKEDITOR.on('dialogDefinition', function (ev) {
(alter_dialog[ev.data.name] || noop)(ev.data.definition);
});
var all_ready = null;
var dom_ready = $.Deferred();