mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
(Retrofit from trunk) Fixes a regression introduced in [r4385] and causing a blank screen when editing an object
SVN:2.3[4391]
This commit is contained in:
@@ -464,7 +464,7 @@ EOF
|
|||||||
oEditor.on( 'instanceReady', function() {
|
oEditor.on( 'instanceReady', function() {
|
||||||
if(!CKEDITOR.env.iOS && $('#'+oEditor.id+'_toolbox .editor_magnifier').length == 0)
|
if(!CKEDITOR.env.iOS && $('#'+oEditor.id+'_toolbox .editor_magnifier').length == 0)
|
||||||
{
|
{
|
||||||
$('#'+oEditor.id+'_toolbox').append('<span class="editor_magnifier" title="$sToggleFullScreen" style="display:block;width:12px;height:11px;border:1px #A6A6A6 solid;cursor:pointer; background-image:url('$sAppRootUrl/images/full-screen.png')"> </span>');
|
$('#'+oEditor.id+'_toolbox').append('<span class="editor_magnifier" title="$sToggleFullScreen" style="display:block;width:12px;height:11px;border:1px #A6A6A6 solid;cursor:pointer; background-image:url(\\'$sAppRootUrl/images/full-screen.png\\')"> </span>');
|
||||||
$('#'+oEditor.id+'_toolbox .editor_magnifier').on('click', function() {
|
$('#'+oEditor.id+'_toolbox .editor_magnifier').on('click', function() {
|
||||||
oEditor.execCommand('maximize');
|
oEditor.execCommand('maximize');
|
||||||
if ($(this).closest('.cke_maximized').length != 0)
|
if ($(this).closest('.cke_maximized').length != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user