X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fjs%2Facq.js;h=067cd08642842ccc9417d17c3cb221f6d2653fde;hb=0b21236d2e7690bd3b499634fdb8fede249b4ff2;hp=97feefc1487d87b3e548385730c6a63acc1895f7;hpb=75a4efa7042a8d15ba7832d67b8670282da3abbc;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js index 97feefc148..067cd08642 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js @@ -76,14 +76,14 @@ DDApp = { if (uls[i].className == "draglist" || uls[i].className == "draglist_alt") { ddtarget = YAHOO.util.DragDropMgr.getDDById(uls[i].id); // The yahoo drag and drop is written (broken or not) in such a way, that if an element is subscribed as a target multiple times, -// it has to be unlinked multiple times, so we need to test wether it is allready a target, otherwise we'll have a problem when closing the group +// it has to be unlinked multiple times, so we need to test whether it is allready a target, otherwise we'll have a problem when closing the group if( ! ddtarget ) { new YAHOO.util.DDTarget(uls[i].id); } var children = uls[i].getElementsByTagName('li'); for( j=0; j 0 && retRootType == 'input') { + // when sort is already an input, do not override to preseve value + return; + } + sort_zone.innerHTML = xmlhttp.responseText; } } @@ -883,61 +862,33 @@ function checkBudgetParent(budgetId, newBudgetParent) { } } - -function addColumn(p_sType, p_aArgs, p_oValue) -{ - var allRows = document.getElementById('plan').rows; - var colnum = p_oValue[0]; - var code = p_oValue[1]; - var colnum = new Number(colnum); - - for (var i=0; i