locomotive-tinymce-rails 3.4.7.5 → 3.5.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -21
- data/Rakefile +15 -16
- data/app/assets/javascripts/tinymce-jquery.js +1 -1
- data/lib/tinymce/rails/version.rb +2 -2
- data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/de.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/en.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/es.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/et.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/fr.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/it.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/nb.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/nl.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/pl.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/pt.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/ru.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/js/image.js +5 -3
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/js/advlink.js +16 -5
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +24 -12
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +20 -38
- data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +4 -2
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +10 -7
- data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +22 -19
- data/vendor/assets/javascripts/tinymce/plugins/emotions/emotions.htm +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +5 -5
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin_src.js +98 -68
- data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin_src.js +23 -15
- data/vendor/assets/javascripts/tinymce/plugins/media/js/media.js +75 -26
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/en_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +499 -57
- data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin_src.js +17 -3
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +4 -4
- data/vendor/assets/javascripts/tinymce/plugins/style/css/props.css +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin_src.js +19 -3
- data/vendor/assets/javascripts/tinymce/plugins/style/js/props.js +77 -3
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/props.htm +6 -1
- data/vendor/assets/javascripts/tinymce/plugins/style/readme.txt +19 -0
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin_src.js +88 -40
- data/vendor/assets/javascripts/tinymce/plugins/table/js/cell.js +2 -2
- data/vendor/assets/javascripts/tinymce/plugins/table/js/row.js +17 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/js/table.js +20 -3
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/row.htm +15 -15
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/css/visualblocks.css +21 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin_src.js +63 -0
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +14 -6
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/color_picker.htm +2 -6
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template_src.js +176 -48
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/anchor.js +19 -6
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/color_picker.js +345 -329
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/image.js +4 -2
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/link.js +9 -3
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/source_editor.js +27 -5
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/de.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/es.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/et.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/fr.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/it.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nb.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nl.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pl.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pt.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ru.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/dialog.css +3 -2
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/ui.css +6 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +4 -3
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +5 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +3 -2
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +6 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/source_editor.htm +1 -1
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/de.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/es.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/et.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/fr.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/it.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/nb.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/nl.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/pl.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/pt.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/ru.js +1 -0
- data/vendor/assets/javascripts/tinymce/tiny_mce.js +1 -1
- data/vendor/assets/javascripts/tinymce/tiny_mce_popup.js +1 -1
- data/vendor/assets/javascripts/tinymce/tiny_mce_src.js +9799 -8716
- data/vendor/assets/javascripts_old/tinymce/jquery.tinymce.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/de.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/en.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/es.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/et.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/fr.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/it.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/nl.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/langs/no.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/langs/pl.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/pt.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/ru.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/license.txt +504 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/css/advhr.css +5 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/editor_plugin_src.js +57 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/js/rule.js +43 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/advhr/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/rule.htm +58 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/css/advimage.css +13 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/editor_plugin_src.js +50 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/image.htm +235 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/img/sample.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/js/image.js +462 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/advimage/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/css/advlink.css +8 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/editor_plugin_src.js +61 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/js/advlink.js +532 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/advlink/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/link.htm +338 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlist/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlist/editor_plugin_src.js +176 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autolink/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autolink/editor_plugin_src.js +172 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autoresize/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autoresize/editor_plugin_src.js +137 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autosave/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autosave/editor_plugin_src.js +431 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/autosave/langs/en.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/bbcode/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/bbcode/editor_plugin_src.js +120 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/contextmenu/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/contextmenu/editor_plugin_src.js +160 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/directionality/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/directionality/editor_plugin_src.js +82 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/editor_plugin_src.js +43 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/emotions.htm +42 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/js/emotions.js +43 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/dialog.htm +22 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/editor_plugin_src.js +84 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/img/example.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/js/dialog.js +19 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/langs/en.js +3 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/langs/en_dlg.js +3 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example_dependency/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example_dependency/editor_plugin_src.js +50 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/css/fullpage.css +143 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/editor_plugin_src.js +405 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/fullpage.htm +259 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/js/fullpage.js +232 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/fullpage/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullscreen/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullscreen/editor_plugin_src.js +159 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullscreen/fullscreen.htm +110 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/iespell/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/iespell/editor_plugin_src.js +54 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/editor_plugin_src.js +699 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/template.htm +387 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/insertdatetime/editor_plugin_src.js +83 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/layer/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/layer/editor_plugin_src.js +262 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/legacyoutput/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/legacyoutput/editor_plugin_src.js +139 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/lists/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/lists/editor_plugin_src.js +925 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/css/media.css +17 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/editor_plugin_src.js +890 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/js/embed.js +73 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/js/media.js +464 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/media/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/media.htm +922 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/nonbreaking/editor_plugin_src.js +54 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/noneditable/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/noneditable/editor_plugin_src.js +95 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/pagebreak/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/pagebreak/editor_plugin_src.js +74 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/editor_plugin_src.js +871 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/js/pastetext.js +36 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/js/pasteword.js +51 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/paste/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/pastetext.htm +27 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/pasteword.htm +21 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/editor_plugin_src.js +53 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/example.html +28 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/jscripts/embed.js +73 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/preview.html +17 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/print/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/print/editor_plugin_src.js +34 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/save/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/save/editor_plugin_src.js +101 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/editor_plugin_src.js +61 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/js/searchreplace.js +142 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/searchreplace/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/searchreplace.htm +100 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/css/content.css +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/editor_plugin_src.js +436 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/img/wline.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/css/props.css +13 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/editor_plugin_src.js +55 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/js/props.js +635 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/style/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/props.htm +840 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/tabfocus/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/tabfocus/editor_plugin_src.js +122 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/cell.htm +180 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/css/cell.css +17 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/css/row.css +25 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/css/table.css +13 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/editor_plugin_src.js +1408 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/js/cell.js +319 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/js/merge_cells.js +27 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/js/row.js +237 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/js/table.js +484 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/table/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/merge_cells.htm +32 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/row.htm +158 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/table.htm +188 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/blank.htm +12 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/css/template.css +23 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/editor_plugin_src.js +159 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/js/template.js +106 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/template.htm +31 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/visualchars/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/visualchars/editor_plugin_src.js +83 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/wordcount/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/wordcount/editor_plugin_src.js +114 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/abbr.htm +142 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/acronym.htm +142 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/attributes.htm +149 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/cite.htm +142 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/del.htm +162 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +132 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/ins.htm +162 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/attributes.js +111 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/del.js +53 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/element_common.js +229 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/ins.js +53 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/xhtmlxtras/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/about.htm +52 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/anchor.htm +26 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/charmap.htm +55 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/color_picker.htm +74 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/editor_template.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/editor_template_src.js +1362 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/image.htm +80 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/flash.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/icons.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/iframe.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/pagebreak.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/quicktime.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/realmedia.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/shockwave.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/trans.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/video.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/about.js +73 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/anchor.js +43 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/charmap.js +363 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/color_picker.js +329 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/image.js +251 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/link.js +153 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/source_editor.js +56 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/de.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/en.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/es.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/et.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/fr.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/it.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/nl.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/themes/advanced/langs/no.js +0 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/themes/advanced/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pl.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pt.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/ru.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/link.htm +57 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/shortcuts.htm +47 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/content.css +50 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/dialog.css +117 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/ui.css +214 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/highcontrast/content.css +24 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/highcontrast/dialog.css +105 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/highcontrast/ui.css +102 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/content.css +48 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/dialog.css +117 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/ui.css +217 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/source_editor.htm +25 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/editor_template.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/editor_template_src.js +84 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/img/icons.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/langs/en.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/langs/pl.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/default/content.css +25 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/default/ui.css +32 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/o2k7/content.css +17 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/o2k7/ui.css +35 -0
- data/vendor/assets/javascripts_old/tinymce/tiny_mce.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/tiny_mce_jquery.js +0 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/tiny_mce_jquery_src.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/tiny_mce_popup.js +5 -0
- data/vendor/assets/javascripts_old/tinymce/tiny_mce_src.js +16728 -0
- data/vendor/assets/javascripts_old/tinymce/utils/editable_selects.js +70 -0
- data/vendor/assets/javascripts_old/tinymce/utils/form_utils.js +210 -0
- data/vendor/assets/javascripts_old/tinymce/utils/mctabs.js +162 -0
- data/vendor/assets/javascripts_old/tinymce/utils/validate.js +252 -0
- metadata +437 -20
@@ -0,0 +1,70 @@
|
|
1
|
+
/**
|
2
|
+
* editable_selects.js
|
3
|
+
*
|
4
|
+
* Copyright 2009, Moxiecode Systems AB
|
5
|
+
* Released under LGPL License.
|
6
|
+
*
|
7
|
+
* License: http://tinymce.moxiecode.com/license
|
8
|
+
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
+
*/
|
10
|
+
|
11
|
+
var TinyMCE_EditableSelects = {
|
12
|
+
editSelectElm : null,
|
13
|
+
|
14
|
+
init : function() {
|
15
|
+
var nl = document.getElementsByTagName("select"), i, d = document, o;
|
16
|
+
|
17
|
+
for (i=0; i<nl.length; i++) {
|
18
|
+
if (nl[i].className.indexOf('mceEditableSelect') != -1) {
|
19
|
+
o = new Option(tinyMCEPopup.editor.translate('value'), '__mce_add_custom__');
|
20
|
+
|
21
|
+
o.className = 'mceAddSelectValue';
|
22
|
+
|
23
|
+
nl[i].options[nl[i].options.length] = o;
|
24
|
+
nl[i].onchange = TinyMCE_EditableSelects.onChangeEditableSelect;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
},
|
28
|
+
|
29
|
+
onChangeEditableSelect : function(e) {
|
30
|
+
var d = document, ne, se = window.event ? window.event.srcElement : e.target;
|
31
|
+
|
32
|
+
if (se.options[se.selectedIndex].value == '__mce_add_custom__') {
|
33
|
+
ne = d.createElement("input");
|
34
|
+
ne.id = se.id + "_custom";
|
35
|
+
ne.name = se.name + "_custom";
|
36
|
+
ne.type = "text";
|
37
|
+
|
38
|
+
ne.style.width = se.offsetWidth + 'px';
|
39
|
+
se.parentNode.insertBefore(ne, se);
|
40
|
+
se.style.display = 'none';
|
41
|
+
ne.focus();
|
42
|
+
ne.onblur = TinyMCE_EditableSelects.onBlurEditableSelectInput;
|
43
|
+
ne.onkeydown = TinyMCE_EditableSelects.onKeyDown;
|
44
|
+
TinyMCE_EditableSelects.editSelectElm = se;
|
45
|
+
}
|
46
|
+
},
|
47
|
+
|
48
|
+
onBlurEditableSelectInput : function() {
|
49
|
+
var se = TinyMCE_EditableSelects.editSelectElm;
|
50
|
+
|
51
|
+
if (se) {
|
52
|
+
if (se.previousSibling.value != '') {
|
53
|
+
addSelectValue(document.forms[0], se.id, se.previousSibling.value, se.previousSibling.value);
|
54
|
+
selectByValue(document.forms[0], se.id, se.previousSibling.value);
|
55
|
+
} else
|
56
|
+
selectByValue(document.forms[0], se.id, '');
|
57
|
+
|
58
|
+
se.style.display = 'inline';
|
59
|
+
se.parentNode.removeChild(se.previousSibling);
|
60
|
+
TinyMCE_EditableSelects.editSelectElm = null;
|
61
|
+
}
|
62
|
+
},
|
63
|
+
|
64
|
+
onKeyDown : function(e) {
|
65
|
+
e = e || window.event;
|
66
|
+
|
67
|
+
if (e.keyCode == 13)
|
68
|
+
TinyMCE_EditableSelects.onBlurEditableSelectInput();
|
69
|
+
}
|
70
|
+
};
|
@@ -0,0 +1,210 @@
|
|
1
|
+
/**
|
2
|
+
* form_utils.js
|
3
|
+
*
|
4
|
+
* Copyright 2009, Moxiecode Systems AB
|
5
|
+
* Released under LGPL License.
|
6
|
+
*
|
7
|
+
* License: http://tinymce.moxiecode.com/license
|
8
|
+
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
+
*/
|
10
|
+
|
11
|
+
var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme"));
|
12
|
+
|
13
|
+
function getColorPickerHTML(id, target_form_element) {
|
14
|
+
var h = "", dom = tinyMCEPopup.dom;
|
15
|
+
|
16
|
+
if (label = dom.select('label[for=' + target_form_element + ']')[0]) {
|
17
|
+
label.id = label.id || dom.uniqueId();
|
18
|
+
}
|
19
|
+
|
20
|
+
h += '<a role="button" aria-labelledby="' + id + '_label" id="' + id + '_link" href="javascript:;" onclick="tinyMCEPopup.pickColor(event,\'' + target_form_element +'\');" onmousedown="return false;" class="pickcolor">';
|
21
|
+
h += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '"> <span id="' + id + '_label" class="mceVoiceLabel mceIconOnly" style="display:none;">' + tinyMCEPopup.getLang('browse') + '</span></span></a>';
|
22
|
+
|
23
|
+
return h;
|
24
|
+
}
|
25
|
+
|
26
|
+
function updateColor(img_id, form_element_id) {
|
27
|
+
document.getElementById(img_id).style.backgroundColor = document.forms[0].elements[form_element_id].value;
|
28
|
+
}
|
29
|
+
|
30
|
+
function setBrowserDisabled(id, state) {
|
31
|
+
var img = document.getElementById(id);
|
32
|
+
var lnk = document.getElementById(id + "_link");
|
33
|
+
|
34
|
+
if (lnk) {
|
35
|
+
if (state) {
|
36
|
+
lnk.setAttribute("realhref", lnk.getAttribute("href"));
|
37
|
+
lnk.removeAttribute("href");
|
38
|
+
tinyMCEPopup.dom.addClass(img, 'disabled');
|
39
|
+
} else {
|
40
|
+
if (lnk.getAttribute("realhref"))
|
41
|
+
lnk.setAttribute("href", lnk.getAttribute("realhref"));
|
42
|
+
|
43
|
+
tinyMCEPopup.dom.removeClass(img, 'disabled');
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
function getBrowserHTML(id, target_form_element, type, prefix) {
|
49
|
+
var option = prefix + "_" + type + "_browser_callback", cb, html;
|
50
|
+
|
51
|
+
cb = tinyMCEPopup.getParam(option, tinyMCEPopup.getParam("file_browser_callback"));
|
52
|
+
|
53
|
+
if (!cb)
|
54
|
+
return "";
|
55
|
+
|
56
|
+
html = "";
|
57
|
+
html += '<a id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;" class="browse">';
|
58
|
+
html += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '"> </span></a>';
|
59
|
+
|
60
|
+
return html;
|
61
|
+
}
|
62
|
+
|
63
|
+
function openBrowser(img_id, target_form_element, type, option) {
|
64
|
+
var img = document.getElementById(img_id);
|
65
|
+
|
66
|
+
if (img.className != "mceButtonDisabled")
|
67
|
+
tinyMCEPopup.openBrowser(target_form_element, type, option);
|
68
|
+
}
|
69
|
+
|
70
|
+
function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
|
71
|
+
if (!form_obj || !form_obj.elements[field_name])
|
72
|
+
return;
|
73
|
+
|
74
|
+
if (!value)
|
75
|
+
value = "";
|
76
|
+
|
77
|
+
var sel = form_obj.elements[field_name];
|
78
|
+
|
79
|
+
var found = false;
|
80
|
+
for (var i=0; i<sel.options.length; i++) {
|
81
|
+
var option = sel.options[i];
|
82
|
+
|
83
|
+
if (option.value == value || (ignore_case && option.value.toLowerCase() == value.toLowerCase())) {
|
84
|
+
option.selected = true;
|
85
|
+
found = true;
|
86
|
+
} else
|
87
|
+
option.selected = false;
|
88
|
+
}
|
89
|
+
|
90
|
+
if (!found && add_custom && value != '') {
|
91
|
+
var option = new Option(value, value);
|
92
|
+
option.selected = true;
|
93
|
+
sel.options[sel.options.length] = option;
|
94
|
+
sel.selectedIndex = sel.options.length - 1;
|
95
|
+
}
|
96
|
+
|
97
|
+
return found;
|
98
|
+
}
|
99
|
+
|
100
|
+
function getSelectValue(form_obj, field_name) {
|
101
|
+
var elm = form_obj.elements[field_name];
|
102
|
+
|
103
|
+
if (elm == null || elm.options == null || elm.selectedIndex === -1)
|
104
|
+
return "";
|
105
|
+
|
106
|
+
return elm.options[elm.selectedIndex].value;
|
107
|
+
}
|
108
|
+
|
109
|
+
function addSelectValue(form_obj, field_name, name, value) {
|
110
|
+
var s = form_obj.elements[field_name];
|
111
|
+
var o = new Option(name, value);
|
112
|
+
s.options[s.options.length] = o;
|
113
|
+
}
|
114
|
+
|
115
|
+
function addClassesToList(list_id, specific_option) {
|
116
|
+
// Setup class droplist
|
117
|
+
var styleSelectElm = document.getElementById(list_id);
|
118
|
+
var styles = tinyMCEPopup.getParam('theme_advanced_styles', false);
|
119
|
+
styles = tinyMCEPopup.getParam(specific_option, styles);
|
120
|
+
|
121
|
+
if (styles) {
|
122
|
+
var stylesAr = styles.split(';');
|
123
|
+
|
124
|
+
for (var i=0; i<stylesAr.length; i++) {
|
125
|
+
if (stylesAr != "") {
|
126
|
+
var key, value;
|
127
|
+
|
128
|
+
key = stylesAr[i].split('=')[0];
|
129
|
+
value = stylesAr[i].split('=')[1];
|
130
|
+
|
131
|
+
styleSelectElm.options[styleSelectElm.length] = new Option(key, value);
|
132
|
+
}
|
133
|
+
}
|
134
|
+
} else {
|
135
|
+
tinymce.each(tinyMCEPopup.editor.dom.getClasses(), function(o) {
|
136
|
+
styleSelectElm.options[styleSelectElm.length] = new Option(o.title || o['class'], o['class']);
|
137
|
+
});
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
function isVisible(element_id) {
|
142
|
+
var elm = document.getElementById(element_id);
|
143
|
+
|
144
|
+
return elm && elm.style.display != "none";
|
145
|
+
}
|
146
|
+
|
147
|
+
function convertRGBToHex(col) {
|
148
|
+
var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi");
|
149
|
+
|
150
|
+
var rgb = col.replace(re, "$1,$2,$3").split(',');
|
151
|
+
if (rgb.length == 3) {
|
152
|
+
r = parseInt(rgb[0]).toString(16);
|
153
|
+
g = parseInt(rgb[1]).toString(16);
|
154
|
+
b = parseInt(rgb[2]).toString(16);
|
155
|
+
|
156
|
+
r = r.length == 1 ? '0' + r : r;
|
157
|
+
g = g.length == 1 ? '0' + g : g;
|
158
|
+
b = b.length == 1 ? '0' + b : b;
|
159
|
+
|
160
|
+
return "#" + r + g + b;
|
161
|
+
}
|
162
|
+
|
163
|
+
return col;
|
164
|
+
}
|
165
|
+
|
166
|
+
function convertHexToRGB(col) {
|
167
|
+
if (col.indexOf('#') != -1) {
|
168
|
+
col = col.replace(new RegExp('[^0-9A-F]', 'gi'), '');
|
169
|
+
|
170
|
+
r = parseInt(col.substring(0, 2), 16);
|
171
|
+
g = parseInt(col.substring(2, 4), 16);
|
172
|
+
b = parseInt(col.substring(4, 6), 16);
|
173
|
+
|
174
|
+
return "rgb(" + r + "," + g + "," + b + ")";
|
175
|
+
}
|
176
|
+
|
177
|
+
return col;
|
178
|
+
}
|
179
|
+
|
180
|
+
function trimSize(size) {
|
181
|
+
return size.replace(/([0-9\.]+)(px|%|in|cm|mm|em|ex|pt|pc)/i, '$1$2');
|
182
|
+
}
|
183
|
+
|
184
|
+
function getCSSSize(size) {
|
185
|
+
size = trimSize(size);
|
186
|
+
|
187
|
+
if (size == "")
|
188
|
+
return "";
|
189
|
+
|
190
|
+
// Add px
|
191
|
+
if (/^[0-9]+$/.test(size))
|
192
|
+
size += 'px';
|
193
|
+
// Sanity check, IE doesn't like broken values
|
194
|
+
else if (!(/^[0-9\.]+(px|%|in|cm|mm|em|ex|pt|pc)$/i.test(size)))
|
195
|
+
return "";
|
196
|
+
|
197
|
+
return size;
|
198
|
+
}
|
199
|
+
|
200
|
+
function getStyle(elm, attrib, style) {
|
201
|
+
var val = tinyMCEPopup.dom.getAttrib(elm, attrib);
|
202
|
+
|
203
|
+
if (val != '')
|
204
|
+
return '' + val;
|
205
|
+
|
206
|
+
if (typeof(style) == 'undefined')
|
207
|
+
style = attrib;
|
208
|
+
|
209
|
+
return tinyMCEPopup.dom.getStyle(elm, style);
|
210
|
+
}
|
@@ -0,0 +1,162 @@
|
|
1
|
+
/**
|
2
|
+
* mctabs.js
|
3
|
+
*
|
4
|
+
* Copyright 2009, Moxiecode Systems AB
|
5
|
+
* Released under LGPL License.
|
6
|
+
*
|
7
|
+
* License: http://tinymce.moxiecode.com/license
|
8
|
+
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
+
*/
|
10
|
+
|
11
|
+
function MCTabs() {
|
12
|
+
this.settings = [];
|
13
|
+
this.onChange = tinyMCEPopup.editor.windowManager.createInstance('tinymce.util.Dispatcher');
|
14
|
+
};
|
15
|
+
|
16
|
+
MCTabs.prototype.init = function(settings) {
|
17
|
+
this.settings = settings;
|
18
|
+
};
|
19
|
+
|
20
|
+
MCTabs.prototype.getParam = function(name, default_value) {
|
21
|
+
var value = null;
|
22
|
+
|
23
|
+
value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
|
24
|
+
|
25
|
+
// Fix bool values
|
26
|
+
if (value == "true" || value == "false")
|
27
|
+
return (value == "true");
|
28
|
+
|
29
|
+
return value;
|
30
|
+
};
|
31
|
+
|
32
|
+
MCTabs.prototype.showTab =function(tab){
|
33
|
+
tab.className = 'current';
|
34
|
+
tab.setAttribute("aria-selected", true);
|
35
|
+
tab.setAttribute("aria-expanded", true);
|
36
|
+
tab.tabIndex = 0;
|
37
|
+
};
|
38
|
+
|
39
|
+
MCTabs.prototype.hideTab =function(tab){
|
40
|
+
var t=this;
|
41
|
+
|
42
|
+
tab.className = '';
|
43
|
+
tab.setAttribute("aria-selected", false);
|
44
|
+
tab.setAttribute("aria-expanded", false);
|
45
|
+
tab.tabIndex = -1;
|
46
|
+
};
|
47
|
+
|
48
|
+
MCTabs.prototype.showPanel = function(panel) {
|
49
|
+
panel.className = 'current';
|
50
|
+
panel.setAttribute("aria-hidden", false);
|
51
|
+
};
|
52
|
+
|
53
|
+
MCTabs.prototype.hidePanel = function(panel) {
|
54
|
+
panel.className = 'panel';
|
55
|
+
panel.setAttribute("aria-hidden", true);
|
56
|
+
};
|
57
|
+
|
58
|
+
MCTabs.prototype.getPanelForTab = function(tabElm) {
|
59
|
+
return tinyMCEPopup.dom.getAttrib(tabElm, "aria-controls");
|
60
|
+
};
|
61
|
+
|
62
|
+
MCTabs.prototype.displayTab = function(tab_id, panel_id, avoid_focus) {
|
63
|
+
var panelElm, panelContainerElm, tabElm, tabContainerElm, selectionClass, nodes, i, t = this;
|
64
|
+
|
65
|
+
tabElm = document.getElementById(tab_id);
|
66
|
+
|
67
|
+
if (panel_id === undefined) {
|
68
|
+
panel_id = t.getPanelForTab(tabElm);
|
69
|
+
}
|
70
|
+
|
71
|
+
panelElm= document.getElementById(panel_id);
|
72
|
+
panelContainerElm = panelElm ? panelElm.parentNode : null;
|
73
|
+
tabContainerElm = tabElm ? tabElm.parentNode : null;
|
74
|
+
selectionClass = t.getParam('selection_class', 'current');
|
75
|
+
|
76
|
+
if (tabElm && tabContainerElm) {
|
77
|
+
nodes = tabContainerElm.childNodes;
|
78
|
+
|
79
|
+
// Hide all other tabs
|
80
|
+
for (i = 0; i < nodes.length; i++) {
|
81
|
+
if (nodes[i].nodeName == "LI") {
|
82
|
+
t.hideTab(nodes[i]);
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
// Show selected tab
|
87
|
+
t.showTab(tabElm);
|
88
|
+
}
|
89
|
+
|
90
|
+
if (panelElm && panelContainerElm) {
|
91
|
+
nodes = panelContainerElm.childNodes;
|
92
|
+
|
93
|
+
// Hide all other panels
|
94
|
+
for (i = 0; i < nodes.length; i++) {
|
95
|
+
if (nodes[i].nodeName == "DIV")
|
96
|
+
t.hidePanel(nodes[i]);
|
97
|
+
}
|
98
|
+
|
99
|
+
if (!avoid_focus) {
|
100
|
+
tabElm.focus();
|
101
|
+
}
|
102
|
+
|
103
|
+
// Show selected panel
|
104
|
+
t.showPanel(panelElm);
|
105
|
+
}
|
106
|
+
};
|
107
|
+
|
108
|
+
MCTabs.prototype.getAnchor = function() {
|
109
|
+
var pos, url = document.location.href;
|
110
|
+
|
111
|
+
if ((pos = url.lastIndexOf('#')) != -1)
|
112
|
+
return url.substring(pos + 1);
|
113
|
+
|
114
|
+
return "";
|
115
|
+
};
|
116
|
+
|
117
|
+
|
118
|
+
//Global instance
|
119
|
+
var mcTabs = new MCTabs();
|
120
|
+
|
121
|
+
tinyMCEPopup.onInit.add(function() {
|
122
|
+
var tinymce = tinyMCEPopup.getWin().tinymce, dom = tinyMCEPopup.dom, each = tinymce.each;
|
123
|
+
|
124
|
+
each(dom.select('div.tabs'), function(tabContainerElm) {
|
125
|
+
var keyNav;
|
126
|
+
|
127
|
+
dom.setAttrib(tabContainerElm, "role", "tablist");
|
128
|
+
|
129
|
+
var items = tinyMCEPopup.dom.select('li', tabContainerElm);
|
130
|
+
var action = function(id) {
|
131
|
+
mcTabs.displayTab(id, mcTabs.getPanelForTab(id));
|
132
|
+
mcTabs.onChange.dispatch(id);
|
133
|
+
};
|
134
|
+
|
135
|
+
each(items, function(item) {
|
136
|
+
dom.setAttrib(item, 'role', 'tab');
|
137
|
+
dom.bind(item, 'click', function(evt) {
|
138
|
+
action(item.id);
|
139
|
+
});
|
140
|
+
});
|
141
|
+
|
142
|
+
dom.bind(dom.getRoot(), 'keydown', function(evt) {
|
143
|
+
if (evt.keyCode === 9 && evt.ctrlKey && !evt.altKey) { // Tab
|
144
|
+
keyNav.moveFocus(evt.shiftKey ? -1 : 1);
|
145
|
+
tinymce.dom.Event.cancel(evt);
|
146
|
+
}
|
147
|
+
});
|
148
|
+
|
149
|
+
each(dom.select('a', tabContainerElm), function(a) {
|
150
|
+
dom.setAttrib(a, 'tabindex', '-1');
|
151
|
+
});
|
152
|
+
|
153
|
+
keyNav = tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', {
|
154
|
+
root: tabContainerElm,
|
155
|
+
items: items,
|
156
|
+
onAction: action,
|
157
|
+
actOnFocus: true,
|
158
|
+
enableLeftRight: true,
|
159
|
+
enableUpDown: true
|
160
|
+
}, tinyMCEPopup.dom);
|
161
|
+
});
|
162
|
+
});
|
@@ -0,0 +1,252 @@
|
|
1
|
+
/**
|
2
|
+
* validate.js
|
3
|
+
*
|
4
|
+
* Copyright 2009, Moxiecode Systems AB
|
5
|
+
* Released under LGPL License.
|
6
|
+
*
|
7
|
+
* License: http://tinymce.moxiecode.com/license
|
8
|
+
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
+
*/
|
10
|
+
|
11
|
+
/**
|
12
|
+
// String validation:
|
13
|
+
|
14
|
+
if (!Validator.isEmail('myemail'))
|
15
|
+
alert('Invalid email.');
|
16
|
+
|
17
|
+
// Form validation:
|
18
|
+
|
19
|
+
var f = document.forms['myform'];
|
20
|
+
|
21
|
+
if (!Validator.isEmail(f.myemail))
|
22
|
+
alert('Invalid email.');
|
23
|
+
*/
|
24
|
+
|
25
|
+
var Validator = {
|
26
|
+
isEmail : function(s) {
|
27
|
+
return this.test(s, '^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$');
|
28
|
+
},
|
29
|
+
|
30
|
+
isAbsUrl : function(s) {
|
31
|
+
return this.test(s, '^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+\\/?.*$');
|
32
|
+
},
|
33
|
+
|
34
|
+
isSize : function(s) {
|
35
|
+
return this.test(s, '^[0-9.]+(%|in|cm|mm|em|ex|pt|pc|px)?$');
|
36
|
+
},
|
37
|
+
|
38
|
+
isId : function(s) {
|
39
|
+
return this.test(s, '^[A-Za-z_]([A-Za-z0-9_])*$');
|
40
|
+
},
|
41
|
+
|
42
|
+
isEmpty : function(s) {
|
43
|
+
var nl, i;
|
44
|
+
|
45
|
+
if (s.nodeName == 'SELECT' && s.selectedIndex < 1)
|
46
|
+
return true;
|
47
|
+
|
48
|
+
if (s.type == 'checkbox' && !s.checked)
|
49
|
+
return true;
|
50
|
+
|
51
|
+
if (s.type == 'radio') {
|
52
|
+
for (i=0, nl = s.form.elements; i<nl.length; i++) {
|
53
|
+
if (nl[i].type == "radio" && nl[i].name == s.name && nl[i].checked)
|
54
|
+
return false;
|
55
|
+
}
|
56
|
+
|
57
|
+
return true;
|
58
|
+
}
|
59
|
+
|
60
|
+
return new RegExp('^\\s*$').test(s.nodeType == 1 ? s.value : s);
|
61
|
+
},
|
62
|
+
|
63
|
+
isNumber : function(s, d) {
|
64
|
+
return !isNaN(s.nodeType == 1 ? s.value : s) && (!d || !this.test(s, '^-?[0-9]*\\.[0-9]*$'));
|
65
|
+
},
|
66
|
+
|
67
|
+
test : function(s, p) {
|
68
|
+
s = s.nodeType == 1 ? s.value : s;
|
69
|
+
|
70
|
+
return s == '' || new RegExp(p).test(s);
|
71
|
+
}
|
72
|
+
};
|
73
|
+
|
74
|
+
var AutoValidator = {
|
75
|
+
settings : {
|
76
|
+
id_cls : 'id',
|
77
|
+
int_cls : 'int',
|
78
|
+
url_cls : 'url',
|
79
|
+
number_cls : 'number',
|
80
|
+
email_cls : 'email',
|
81
|
+
size_cls : 'size',
|
82
|
+
required_cls : 'required',
|
83
|
+
invalid_cls : 'invalid',
|
84
|
+
min_cls : 'min',
|
85
|
+
max_cls : 'max'
|
86
|
+
},
|
87
|
+
|
88
|
+
init : function(s) {
|
89
|
+
var n;
|
90
|
+
|
91
|
+
for (n in s)
|
92
|
+
this.settings[n] = s[n];
|
93
|
+
},
|
94
|
+
|
95
|
+
validate : function(f) {
|
96
|
+
var i, nl, s = this.settings, c = 0;
|
97
|
+
|
98
|
+
nl = this.tags(f, 'label');
|
99
|
+
for (i=0; i<nl.length; i++) {
|
100
|
+
this.removeClass(nl[i], s.invalid_cls);
|
101
|
+
nl[i].setAttribute('aria-invalid', false);
|
102
|
+
}
|
103
|
+
|
104
|
+
c += this.validateElms(f, 'input');
|
105
|
+
c += this.validateElms(f, 'select');
|
106
|
+
c += this.validateElms(f, 'textarea');
|
107
|
+
|
108
|
+
return c == 3;
|
109
|
+
},
|
110
|
+
|
111
|
+
invalidate : function(n) {
|
112
|
+
this.mark(n.form, n);
|
113
|
+
},
|
114
|
+
|
115
|
+
getErrorMessages : function(f) {
|
116
|
+
var nl, i, s = this.settings, field, msg, values, messages = [], ed = tinyMCEPopup.editor;
|
117
|
+
nl = this.tags(f, "label");
|
118
|
+
for (i=0; i<nl.length; i++) {
|
119
|
+
if (this.hasClass(nl[i], s.invalid_cls)) {
|
120
|
+
field = document.getElementById(nl[i].getAttribute("for"));
|
121
|
+
values = { field: nl[i].textContent };
|
122
|
+
if (this.hasClass(field, s.min_cls, true)) {
|
123
|
+
message = ed.getLang('invalid_data_min');
|
124
|
+
values.min = this.getNum(field, s.min_cls);
|
125
|
+
} else if (this.hasClass(field, s.number_cls)) {
|
126
|
+
message = ed.getLang('invalid_data_number');
|
127
|
+
} else if (this.hasClass(field, s.size_cls)) {
|
128
|
+
message = ed.getLang('invalid_data_size');
|
129
|
+
} else {
|
130
|
+
message = ed.getLang('invalid_data');
|
131
|
+
}
|
132
|
+
|
133
|
+
message = message.replace(/{\#([^}]+)\}/g, function(a, b) {
|
134
|
+
return values[b] || '{#' + b + '}';
|
135
|
+
});
|
136
|
+
messages.push(message);
|
137
|
+
}
|
138
|
+
}
|
139
|
+
return messages;
|
140
|
+
},
|
141
|
+
|
142
|
+
reset : function(e) {
|
143
|
+
var t = ['label', 'input', 'select', 'textarea'];
|
144
|
+
var i, j, nl, s = this.settings;
|
145
|
+
|
146
|
+
if (e == null)
|
147
|
+
return;
|
148
|
+
|
149
|
+
for (i=0; i<t.length; i++) {
|
150
|
+
nl = this.tags(e.form ? e.form : e, t[i]);
|
151
|
+
for (j=0; j<nl.length; j++) {
|
152
|
+
this.removeClass(nl[j], s.invalid_cls);
|
153
|
+
nl[j].setAttribute('aria-invalid', false);
|
154
|
+
}
|
155
|
+
}
|
156
|
+
},
|
157
|
+
|
158
|
+
validateElms : function(f, e) {
|
159
|
+
var nl, i, n, s = this.settings, st = true, va = Validator, v;
|
160
|
+
|
161
|
+
nl = this.tags(f, e);
|
162
|
+
for (i=0; i<nl.length; i++) {
|
163
|
+
n = nl[i];
|
164
|
+
|
165
|
+
this.removeClass(n, s.invalid_cls);
|
166
|
+
|
167
|
+
if (this.hasClass(n, s.required_cls) && va.isEmpty(n))
|
168
|
+
st = this.mark(f, n);
|
169
|
+
|
170
|
+
if (this.hasClass(n, s.number_cls) && !va.isNumber(n))
|
171
|
+
st = this.mark(f, n);
|
172
|
+
|
173
|
+
if (this.hasClass(n, s.int_cls) && !va.isNumber(n, true))
|
174
|
+
st = this.mark(f, n);
|
175
|
+
|
176
|
+
if (this.hasClass(n, s.url_cls) && !va.isAbsUrl(n))
|
177
|
+
st = this.mark(f, n);
|
178
|
+
|
179
|
+
if (this.hasClass(n, s.email_cls) && !va.isEmail(n))
|
180
|
+
st = this.mark(f, n);
|
181
|
+
|
182
|
+
if (this.hasClass(n, s.size_cls) && !va.isSize(n))
|
183
|
+
st = this.mark(f, n);
|
184
|
+
|
185
|
+
if (this.hasClass(n, s.id_cls) && !va.isId(n))
|
186
|
+
st = this.mark(f, n);
|
187
|
+
|
188
|
+
if (this.hasClass(n, s.min_cls, true)) {
|
189
|
+
v = this.getNum(n, s.min_cls);
|
190
|
+
|
191
|
+
if (isNaN(v) || parseInt(n.value) < parseInt(v))
|
192
|
+
st = this.mark(f, n);
|
193
|
+
}
|
194
|
+
|
195
|
+
if (this.hasClass(n, s.max_cls, true)) {
|
196
|
+
v = this.getNum(n, s.max_cls);
|
197
|
+
|
198
|
+
if (isNaN(v) || parseInt(n.value) > parseInt(v))
|
199
|
+
st = this.mark(f, n);
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
return st;
|
204
|
+
},
|
205
|
+
|
206
|
+
hasClass : function(n, c, d) {
|
207
|
+
return new RegExp('\\b' + c + (d ? '[0-9]+' : '') + '\\b', 'g').test(n.className);
|
208
|
+
},
|
209
|
+
|
210
|
+
getNum : function(n, c) {
|
211
|
+
c = n.className.match(new RegExp('\\b' + c + '([0-9]+)\\b', 'g'))[0];
|
212
|
+
c = c.replace(/[^0-9]/g, '');
|
213
|
+
|
214
|
+
return c;
|
215
|
+
},
|
216
|
+
|
217
|
+
addClass : function(n, c, b) {
|
218
|
+
var o = this.removeClass(n, c);
|
219
|
+
n.className = b ? c + (o != '' ? (' ' + o) : '') : (o != '' ? (o + ' ') : '') + c;
|
220
|
+
},
|
221
|
+
|
222
|
+
removeClass : function(n, c) {
|
223
|
+
c = n.className.replace(new RegExp("(^|\\s+)" + c + "(\\s+|$)"), ' ');
|
224
|
+
return n.className = c != ' ' ? c : '';
|
225
|
+
},
|
226
|
+
|
227
|
+
tags : function(f, s) {
|
228
|
+
return f.getElementsByTagName(s);
|
229
|
+
},
|
230
|
+
|
231
|
+
mark : function(f, n) {
|
232
|
+
var s = this.settings;
|
233
|
+
|
234
|
+
this.addClass(n, s.invalid_cls);
|
235
|
+
n.setAttribute('aria-invalid', 'true');
|
236
|
+
this.markLabels(f, n, s.invalid_cls);
|
237
|
+
|
238
|
+
return false;
|
239
|
+
},
|
240
|
+
|
241
|
+
markLabels : function(f, n, ic) {
|
242
|
+
var nl, i;
|
243
|
+
|
244
|
+
nl = this.tags(f, "label");
|
245
|
+
for (i=0; i<nl.length; i++) {
|
246
|
+
if (nl[i].getAttribute("for") == n.id || nl[i].htmlFor == n.id)
|
247
|
+
this.addClass(nl[i], ic);
|
248
|
+
}
|
249
|
+
|
250
|
+
return null;
|
251
|
+
}
|
252
|
+
};
|