JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.2
[ckeditor.git] / _source / plugins / image / dialogs / image.js
index d8eb581..b28e4e1 100644 (file)
@@ -250,7 +250,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                        switchLockRatio( this, false ); // Unlock.\r
                };\r
 \r
-               var numbering = function( id ){ return id + CKEDITOR.tools.getNextNumber(); },\r
+               var numbering = function( id )\r
+                       {\r
+                               return CKEDITOR.tools.getNextId() + '_' + id;\r
+                       },\r
                        btnLockSizesId = numbering( 'btnLockSizes' ),\r
                        btnResetSizeId = numbering( 'btnResetSize' ),\r
                        imagePreviewLoaderId = numbering( 'ImagePreviewLoader' ),\r
@@ -538,7 +541,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                                                                        field.setValue( url );          // And call this.onChange()\r
                                                                                                        // Manually set the initial value.(#4191)\r
                                                                                                        field.setInitValue();\r
-                                                                                                       field.focus();\r
                                                                                                }\r
                                                                                        },\r
                                                                                        commit : function( type, element )\r
@@ -1125,7 +1127,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                        {\r
                                                                action : 'Browse',\r
                                                                target: 'Link:txtUrl',\r
-                                                               url: editor.config.filebrowserImageBrowseLinkUrl || editor.config.filebrowserBrowseUrl\r
+                                                               url: editor.config.filebrowserImageBrowseLinkUrl\r
                                                        },\r
                                                        style : 'float:right',\r
                                                        hidden : true,\r