Index: trunk/admin/editor/cmseditor/editor/dialog/fck_image/fck_image.js =================================================================== diff -u -r1452 -r1453 --- trunk/admin/editor/cmseditor/editor/dialog/fck_image/fck_image.js (.../fck_image.js) (revision 1452) +++ trunk/admin/editor/cmseditor/editor/dialog/fck_image/fck_image.js (.../fck_image.js) (revision 1453) @@ -36,7 +36,7 @@ var activeTab = 'Info'; // Function called when a dialog tag is selected. -var bImageButton = ( document.location.search.length > 0 && document.location.search.substr(1) == 'ImageButton' ) ; +//var bImageButton = ( document.location.search.length > 0 && document.location.search.substr(1) == 'ImageButton' ) ; // Get the selected image (if available). var oImage = FCK.Selection.GetSelectedElement() ; @@ -195,7 +195,7 @@ { if (ValidateUrl() == false) return false; - +/* if ( oImage && bImageButton && oImage.tagName == 'IMG' ) { if ( confirm( 'Do you want to transform the selected image on a image button?' ) ) @@ -206,7 +206,7 @@ if ( confirm( 'Do you want to transform the selected image button on a simple image?' ) ) oImage = null ; } - +*/ oImage = null ; if ( !oImage )