From: <par...@us...> - 2010-04-08 21:33:22
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv25683/functions Modified Files: event.js Log Message: Really fix jump-box Index: event.js =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/event.js,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** event.js 8 Apr 2010 20:12:20 -0000 1.20 --- event.js 8 Apr 2010 21:33:14 -0000 1.21 *************** *** 60,64 **** values[0] = temp[1]; ! form.setAttribute("action", action); // Stuff the hidden form fields. --- 60,69 ---- values[0] = temp[1]; ! try { ! form.setAttribute("action", action); ! } ! catch(e) { ! form.action = action; ! } // Stuff the hidden form fields. *************** *** 69,73 **** // Clear the select+option value. ! var select = form.elements.namedItem("action") select.options[select.selectedIndex].value = ""; --- 74,78 ---- // Clear the select+option value. ! var select = form.elements.namedItem("form_action") select.options[select.selectedIndex].value = ""; |