JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.2
[ckeditor.git] / _source / plugins / iframedialog / plugin.js
index fbd2d90..ded7497 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -74,7 +74,7 @@ CKEDITOR.plugins.add( 'iframedialog',
                                        contentLoad = elementDefinition.onContentLoad && CKEDITOR.tools.bind( elementDefinition.onContentLoad, this ),\r
                                        cssWidth = CKEDITOR.tools.cssLength( elementDefinition.width ),\r
                                        cssHeight = CKEDITOR.tools.cssLength( elementDefinition.height );\r
-                               _.frameId = CKEDITOR.tools.getNextNumber() + '_iframe';\r
+                               _.frameId = CKEDITOR.tools.getNextId() + '_iframe';\r
 \r
                                // IE BUG: Parent container does not resize to contain the iframe automatically.\r
                                dialog.on( 'load', function()\r