bebeboutik/modules/privatesales/privatesale.js

18 lines
489 B
JavaScript
Raw Normal View History

2016-01-04 12:49:26 +01:00
function itemEdition(linkId) {
document.location.href = current_location + "&edit&id=" + linkId;
}
function itemDeletion(linkId) {
var ok = confirm(i18n_delete)
if(ok == true) {
document.location.href = current_location + "&id=" + linkId + "&delete=1";
}
}
function ImgDeletion(linkId, ImgId) {
var ok = confirm(i18n_delete_img)
2016-01-04 12:49:26 +01:00
if(ok == true) {
document.location.href = current_location + "&deleteImg=1&image=" + ImgId + "&id=" + linkId;
2016-01-04 12:49:26 +01:00
}
}