JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.3
[ckeditor.git] / _source / plugins / iframedialog / plugin.js
index fbd2d90..cbe35e9 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -53,7 +53,7 @@ CKEDITOR.plugins.add( 'iframedialog',
                         * @constructor\r
                         * @param {CKEDITOR.dialog} dialog\r
                         * Parent dialog object.\r
-                        * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition\r
+                        * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition\r
                         * The element definition. Accepted fields:\r
                         * <ul>\r
                         *      <li><strong>src</strong> (Required) The src field of the iframe. </li>\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