diff options
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/advimage/js')
| -rw-r--r--[-rwxr-xr-x] | public/javascripts/tiny_mce/plugins/advimage/js/image.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/javascripts/tiny_mce/plugins/advimage/js/image.js b/public/javascripts/tiny_mce/plugins/advimage/js/image.js index 64fc6f6..3477226 100755..100644 --- a/public/javascripts/tiny_mce/plugins/advimage/js/image.js +++ b/public/javascripts/tiny_mce/plugins/advimage/js/image.js | |||
| @@ -272,6 +272,7 @@ var ImageDialog = { | |||
| 272 | cl = tinyMCEPopup.editor.dom.getClasses(); | 272 | cl = tinyMCEPopup.editor.dom.getClasses(); |
| 273 | 273 | ||
| 274 | if (cl.length > 0) { | 274 | if (cl.length > 0) { |
| 275 | lst.options.length = 0; | ||
| 275 | lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); | 276 | lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); |
| 276 | 277 | ||
| 277 | tinymce.each(cl, function(o) { | 278 | tinymce.each(cl, function(o) { |
| @@ -285,6 +286,7 @@ var ImageDialog = { | |||
| 285 | var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; | 286 | var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; |
| 286 | 287 | ||
| 287 | l = window[l]; | 288 | l = window[l]; |
| 289 | lst.options.length = 0; | ||
| 288 | 290 | ||
| 289 | if (l && l.length > 0) { | 291 | if (l && l.length > 0) { |
| 290 | lst.options[lst.options.length] = new Option('', ''); | 292 | lst.options[lst.options.length] = new Option('', ''); |
