/*\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
* @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
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