|
|
@ -397,7 +397,7 @@ define([
|
|
|
|
var addToolbarHideBtn = function (framework, $bar) {
|
|
|
|
var addToolbarHideBtn = function (framework, $bar) {
|
|
|
|
// Expand / collapse the toolbar
|
|
|
|
// Expand / collapse the toolbar
|
|
|
|
var cfg = {
|
|
|
|
var cfg = {
|
|
|
|
element: $bar.find('.cke_toolbox_main')
|
|
|
|
element: $bar
|
|
|
|
};
|
|
|
|
};
|
|
|
|
var onClick = function (visible) {
|
|
|
|
var onClick = function (visible) {
|
|
|
|
framework._.sfCommon.setAttribute(['pad', 'showToolbar'], visible);
|
|
|
|
framework._.sfCommon.setAttribute(['pad', 'showToolbar'], visible);
|
|
|
@ -672,7 +672,7 @@ define([
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (!framework.isReadOnly()) {
|
|
|
|
if (!framework.isReadOnly()) {
|
|
|
|
addToolbarHideBtn(framework, $contentContainer);
|
|
|
|
addToolbarHideBtn(framework, $('.cke_toolbox_main'));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$('.cke_toolbox_main').hide();
|
|
|
|
$('.cke_toolbox_main').hide();
|
|
|
|
}
|
|
|
|
}
|
|
|
|