includes/clientside/tinymce/plugins/example/editor_plugin_src.js
changeset 395 fa4c5ecb7c9a
parent 335 67bd3121a12e
--- a/includes/clientside/tinymce/plugins/example/editor_plugin_src.js	Thu Jan 31 22:29:07 2008 -0500
+++ b/includes/clientside/tinymce/plugins/example/editor_plugin_src.js	Sat Feb 02 11:54:16 2008 -0500
@@ -2,7 +2,7 @@
  * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
  *
  * @author Moxiecode
- * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
  */
 
 (function() {
@@ -23,8 +23,8 @@
 			ed.addCommand('mceExample', function() {
 				ed.windowManager.open({
 					file : url + '/dialog.htm',
-					width : 320 + ed.getLang('example.delta_width', 0),
-					height : 120 + ed.getLang('example.delta_height', 0),
+					width : 320 + parseInt(ed.getLang('example.delta_width', 0)),
+					height : 120 + parseInt(ed.getLang('example.delta_height', 0)),
 					inline : 1
 				}, {
 					plugin_url : url, // Plugin absolute URL