From 6206a86225bd7827f63e75e0e6b347f645eda333 Mon Sep 17 00:00:00 2001 From: till Date: Wed, 2 Nov 2011 15:09:23 +0000 Subject: remove 3.4.2 git-svn-id: https://svn.roundcube.net/trunk@5381 208e9e7b-5314-0410-a742-e7e81cd9613c --- .../program/js/tiny_mce/utils/form_utils.js | 210 --------------------- 1 file changed, 210 deletions(-) delete mode 100644 roundcubemail/program/js/tiny_mce/utils/form_utils.js (limited to 'roundcubemail/program/js/tiny_mce/utils/form_utils.js') diff --git a/roundcubemail/program/js/tiny_mce/utils/form_utils.js b/roundcubemail/program/js/tiny_mce/utils/form_utils.js deleted file mode 100644 index 59da01399..000000000 --- a/roundcubemail/program/js/tiny_mce/utils/form_utils.js +++ /dev/null @@ -1,210 +0,0 @@ -/** - * form_utils.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme")); - -function getColorPickerHTML(id, target_form_element) { - var h = "", dom = tinyMCEPopup.dom; - - if (label = dom.select('label[for=' + target_form_element + ']')[0]) { - label.id = label.id || dom.uniqueId(); - } - - h += ''; - h += ' '; - - return h; -} - -function updateColor(img_id, form_element_id) { - document.getElementById(img_id).style.backgroundColor = document.forms[0].elements[form_element_id].value; -} - -function setBrowserDisabled(id, state) { - var img = document.getElementById(id); - var lnk = document.getElementById(id + "_link"); - - if (lnk) { - if (state) { - lnk.setAttribute("realhref", lnk.getAttribute("href")); - lnk.removeAttribute("href"); - tinyMCEPopup.dom.addClass(img, 'disabled'); - } else { - if (lnk.getAttribute("realhref")) - lnk.setAttribute("href", lnk.getAttribute("realhref")); - - tinyMCEPopup.dom.removeClass(img, 'disabled'); - } - } -} - -function getBrowserHTML(id, target_form_element, type, prefix) { - var option = prefix + "_" + type + "_browser_callback", cb, html; - - cb = tinyMCEPopup.getParam(option, tinyMCEPopup.getParam("file_browser_callback")); - - if (!cb) - return ""; - - html = ""; - html += ''; - html += ' '; - - return html; -} - -function openBrowser(img_id, target_form_element, type, option) { - var img = document.getElementById(img_id); - - if (img.className != "mceButtonDisabled") - tinyMCEPopup.openBrowser(target_form_element, type, option); -} - -function selectByValue(form_obj, field_name, value, add_custom, ignore_case) { - if (!form_obj || !form_obj.elements[field_name]) - return; - - if (!value) - value = ""; - - var sel = form_obj.elements[field_name]; - - var found = false; - for (var i=0; i