[Erp5-report] r42411 ivan - in /erp5/trunk/bt5/erp5_xhtml_jquery_style: SkinTemplateItem/po...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jan 18 12:37:33 CET 2011
Author: ivan
Date: Tue Jan 18 12:37:33 2011
New Revision: 42411
URL: http://svn.erp5.org?rev=42411&view=rev
Log:
Clean up traces from MochiKit.
Modified:
erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml
erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5_xhtml_appearance.js.xml
erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision
Modified: erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml?rev=42411&r1=42410&r2=42411&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml [utf8] Tue Jan 18 12:37:33 2011
@@ -48,13 +48,11 @@ along with this program; if not, write t
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
*/\n
\n
-//XXX: in erp5_xhtml_style\n
function submitAction(form, act) {\n
form.action = act;\n
form.submit();\n
}\n
\n
-//XXX: in erp5_xhtml_style\n
// This function will be called when the user click the save button. As \n
// submitAction function may have changed the action before, it\'s better to\n
// reset the form action to it\'s original behaviour. This is actually\n
@@ -64,7 +62,6 @@ function clickSaveButton(act) {\n
document.forms[0].action = act;\n
}\n
\n
-\n
// The first input element with an "autofocus" class will get the focus,\n
// else if no element have autofocus class, the first element which is not the\n
// search field will get the focus. This is generally the title input text of\n
@@ -86,7 +83,6 @@ function autoFocus() {\n
}\n
}\n
\n
-\n
function buildTables(element_list, rowPredicate, columnPredicate,\n
tableClassName) {\n
/* Generic code to build a table from elements in element_list.\n
@@ -180,7 +176,7 @@ function submitFormOnEnter(event, form,
}\n
if(event.keyCode == 13){\n
if (form == \'main_form\') {\n
- form = getElement(form); // backward compatibility\n
+ form = $("#"+form); // backward compatibility\n
}\n
form.action = method_name;\n
if (clear_changed_flag==true) {\n
@@ -188,9 +184,11 @@ function submitFormOnEnter(event, form,
}\n
if(element!=null){\n
// disable other form elements having same name attribute\n
- forEach(getElementsByTagAndClassName(element.tagName), function (input){\n
- if((input.name == element.name) && (input!=element)){input.disabled = true;}\n
- });\n
+ $(element.tagName).each(\n
+ function (index){\n
+ input = $(this);\n
+ if((input.attr("name") == element.name) && (input!=element)){input.attr("disabled",true);}\n
+ });\n
}\n
form.submit();\n
}\n
@@ -227,7 +225,6 @@ var indexAllCheckBoxesAtBTInstallationOn
//for(i=0;i<=inputs.length-1;i++) {inputs[i].id = "checkbox" + i; }\n
}\n
\n
-\n
var resizeIFrameOnLoad = function() {\n
/* Resize all frames in document in order to remove sliders */\n
var object_list = $("object.auto_height");\n
@@ -341,15 +338,11 @@ var rewriteIndentedSelect = function() {
}\n
}\n
\n
-\n
-\n
if (navigator.userAgent.toLowerCase().indexOf(\'firefox\') != -1)\n
$(document).ready(rewriteIndentedSelect);\n
-\n
$(document).ready(resizeIFrameOnLoad);\n
$(document).ready(addOnChangeEventHandler);\n
-$(document).ready(indexAllCheckBoxesAtBTInstallationOnLoad);\n
-
+$(document).ready(indexAllCheckBoxesAtBTInstallationOnLoad);
]]></string> </value>
</item>
Modified: erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5_xhtml_appearance.js.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5_xhtml_appearance.js.xml?rev=42411&r1=42410&r2=42411&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5_xhtml_appearance.js.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5_xhtml_appearance.js.xml [utf8] Tue Jan 18 12:37:33 2011
@@ -49,7 +49,6 @@ Foundation, Inc., 59 Temple Place - Suit
var fixLeftRightHeightAndFocusOnLoad = function () {\n
fixLeftRightHeightAndFocus(1);\n
};\n
-\n
$(document).ready(fixLeftRightHeightAndFocusOnLoad);\n
</string> </value>
</item>
Modified: erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision?rev=42411&r1=42410&r2=42411&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision [utf8] Tue Jan 18 12:37:33 2011
@@ -1 +1 @@
-5
\ No newline at end of file
+7
\ No newline at end of file
More information about the Erp5-report
mailing list