Lines 158-163
$(document).ready(function(){
Link Here
|
158 |
return $("#" + $(this).data("item") + "-delete-item-form").submit(); |
158 |
return $("#" + $(this).data("item") + "-delete-item-form").submit(); |
159 |
}); |
159 |
}); |
160 |
|
160 |
|
|
|
161 |
$(document).on('click', '#edit-serial-issues-modal-btn-submit', function(e) { |
162 |
e.preventDefault(); |
163 |
$('#edit-serial-issues-modal').modal('hide'); |
164 |
$('#edit-serial-issue').val('1'); |
165 |
return $("#f").submit(); |
166 |
}); |
167 |
$(document).on('click', '#no-edit-serial-issues-modal-btn-submit', function(e) { |
168 |
e.preventDefault(); |
169 |
$('#edit-serial-issues-modal').modal('hide'); |
170 |
return $("#f").submit(); |
171 |
}); |
172 |
|
161 |
/* On page load, check for location.hash in the page URL */ |
173 |
/* On page load, check for location.hash in the page URL */ |
162 |
/* If present the location hash will be used to scroll to the relevant anchor */ |
174 |
/* If present the location hash will be used to scroll to the relevant anchor */ |
163 |
var hash = location.hash; |
175 |
var hash = location.hash; |
Lines 235-237
function Dopop(link,i) {
Link Here
|
235 |
var defaultvalue=document.forms[0].field_value[i].value; |
247 |
var defaultvalue=document.forms[0].field_value[i].value; |
236 |
var newin=window.open(link+"&result=" + defaultvalue,"valuebuilder",'width=500,height=400,toolbar=false,scrollbars=yes'); |
248 |
var newin=window.open(link+"&result=" + defaultvalue,"valuebuilder",'width=500,height=400,toolbar=false,scrollbars=yes'); |
237 |
} |
249 |
} |
238 |
- |
250 |
|
|
|
251 |
function ShowSerialEditingConfirmation(form) { |
252 |
$('#edit-serial-issues-modal').modal('show'); |
253 |
return false; |
254 |
} |