diff options
| author | hukl <contact@smyck.org> | 2009-09-09 12:07:57 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-09 12:07:57 +0200 |
| commit | a6292dd0fecd4482fe863ed849d126b5281b1a8a (patch) | |
| tree | 7c4c32e1a3448c5d1995a236ed01c731018da13d /public/javascripts/tiny_mce/plugins/advimage/js/image.js | |
| parent | 83fe1b1abd7d7bb85679be3f1341e5c88db0ae83 (diff) | |
huge tiny_mce update - now using the tiny_mce jquery build which allows tiny_mce to be initialized via jquery - great!
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/advimage/js/image.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('', ''); |
