This is a discussion on multi orders update within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; here the code to hide the box aka 'fermer'. appli this open admin/multiorders.php look for this function infoMailing(act, id, evt) ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| here the code to hide the box aka 'fermer'. appli this open admin/multiorders.php look for this function infoMailing(act, id, evt) { var obj = 'infoMailing'; formCmd = document.forms['updateStatus']; formBox = document.forms['infoMail']; switch (act) { just after add this just before: case 'supprimer' : case 'fermer' : var id = formBox.elements['key'].value; setVisibilityObj(obj, 'cacher'); formCmd.elements['update_oID[' + id + ']'].checked = false; if (theObj2 = getObjectClasse('tr_' + id)) { if (theObj2.className !== 'dataTableRow') theObj2.className = 'dataTableRow'; } break the result look like this for this part function infoMailing(act, id, evt) { var obj = 'infoMailing'; formCmd = document.forms['updateStatus']; formBox = document.forms['infoMail']; switch (act) { case 'fermer' : var id = formBox.elements['key'].value; setVisibilityObj(obj, 'cacher'); formCmd.elements['update_oID[' + id + ']'].checked = false; if (theObj2 = getObjectClasse('tr_' + id)) { if (theObj2.className !== 'dataTableRow') theObj2.className = 'dataTableRow'; } break case 'supprimer' : var id = formBox.elements['key'].value; setVisibilityObj(obj, 'cacher'); formCmd.elements['update_oID[' + id + ']'].checked = false; if (theObj2 = getObjectClasse('tr_' + id)) { if (theObj2.className !== 'dataTableRow2') theObj2.className = 'dataTableRow2'; } break look for this remplace with this now when you clic on 'fermer' the box is hidden. thepackage contain the multioders fixed. More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multi-Product Update v1.00 | michael_s | New osCommerce Contributions | 0 | 01-09-2008 11:40 AM |
| multi orders update | michael_s | New osCommerce Contributions | 0 | 12-19-2007 03:21 PM |
| multi orders update | michael_s | New osCommerce Contributions | 0 | 12-19-2007 01:01 PM |
| multi orders update | michael_s | New osCommerce Contributions | 0 | 12-17-2007 04:00 PM |
| multi orders update | michael_s | New osCommerce Contributions | 0 | 11-17-2007 06:30 PM |