|
Lines 86-127
fieldset.various li {
Link Here
|
| 86 |
|
86 |
|
| 87 |
</style> |
87 |
</style> |
| 88 |
[% END %] |
88 |
[% END %] |
| 89 |
<script type="text/javascript"> |
89 |
<script> |
| 90 |
//<![CDATA[ |
90 |
YAHOO.util.Event.onDOMReady(DDApp.init, DDApp, true); |
| 91 |
YAHOO.util.Event.onDOMReady(DDApp.init, DDApp, true); |
|
|
| 92 |
|
91 |
|
| 93 |
var MSG_CONFIRM_CLOSE_BASKETGROUP = _("Are you sure you want to close this basketgroup?"); |
92 |
var MSG_CONFIRM_CLOSE_BASKETGROUP = _("Are you sure you want to close this basketgroup?"); |
| 94 |
var MSG_CLOSE_EMPTY_BASKET = _("Why close an empty basket?"); |
93 |
var MSG_CLOSE_EMPTY_BASKET = _("Why close an empty basket?"); |
| 95 |
var MSG_SAVE_BEFORE_PRINTING = _("You need to save the page before printing"); |
94 |
var MSG_SAVE_BEFORE_PRINTING = _("You need to save the page before printing"); |
| 96 |
var MSG_REOPEN_BASKETGROUP = _("reopen basketgroup"); |
95 |
var MSG_REOPEN_BASKETGROUP = _("reopen basketgroup"); |
| 97 |
var MSG_FILE_DOWNLOAD_ERROR = _("Error downloading the file"); |
96 |
var MSG_FILE_DOWNLOAD_ERROR = _("Error downloading the file"); |
| 98 |
|
97 |
|
| 99 |
function submitForm(form) { |
98 |
function submitForm(form) { |
| 100 |
if (form.close.checked == true) { |
99 |
if (form.close.checked == true) { |
| 101 |
var input = document.createElement("input"); |
100 |
var input = document.createElement("input"); |
| 102 |
input.setAttribute("type", "hidden"); |
101 |
input.setAttribute("type", "hidden"); |
| 103 |
input.setAttribute("name", "closed"); |
102 |
input.setAttribute("name", "closed"); |
| 104 |
input.setAttribute("value", "1"); |
103 |
input.setAttribute("value", "1"); |
| 105 |
form.appendChild(input); |
104 |
form.appendChild(input); |
|
|
105 |
} |
| 106 |
} |
106 |
} |
| 107 |
} |
|
|
| 108 |
|
| 109 |
$(document).ready(function() { |
| 110 |
$("#basket_groups").tabs(); |
| 111 |
|
| 112 |
$("table").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 113 |
"aoColumnDefs": [ |
| 114 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
| 115 |
], |
| 116 |
"bAutoWidth": false, |
| 117 |
"sPaginationType": "four_button" |
| 118 |
} )); |
| 119 |
|
107 |
|
| 120 |
}); |
108 |
$(document).ready(function() { |
|
|
109 |
$("#basket_groups").tabs(); |
| 121 |
|
110 |
|
| 122 |
|
111 |
$("table").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 123 |
//]]> |
112 |
"aoColumnDefs": [ |
|
|
113 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
| 114 |
], |
| 115 |
"bAutoWidth": false, |
| 116 |
"sPaginationType": "four_button" |
| 117 |
} )); |
| 118 |
}); |
| 124 |
</script> |
119 |
</script> |
|
|
120 |
|
| 125 |
</head> |
121 |
</head> |
| 126 |
<body id="acq_basketgroup" class="acq"> |
122 |
<body id="acq_basketgroup" class="acq"> |
| 127 |
[% INCLUDE 'header.inc' %] |
123 |
[% INCLUDE 'header.inc' %] |