Selaa lähdekoodia

CKEditor's full screen mode is not supported on iOS (cf https://dev.ckeditor.com/ticket/8307)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4038 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 9 vuotta sitten
vanhempi
commit
57d4dd36c5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      core/inlineimage.class.inc.php

+ 1 - 1
core/inlineimage.class.inc.php

@@ -462,7 +462,7 @@ EOF
 			}, null, null, 4 ); // Listener with priority 4 will be executed before priority 5.
 		
 			oEditor.on( 'instanceReady', function() {
-				if($('#'+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)">&nbsp;</span>');
 					$('#'+oEditor.id+'_toolbox .editor_magnifier').on('click', function() {