| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/admin/javascript/engine/extensions/ |
Upload File : |
/* --------------------------------------------------------------
orders_edit_address_save_button.js 2019-05-09
Gambio GmbH
http://www.gambio.de
Copyright (c) 2019 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
*/
$(function() {
'use strict';
$(document).ready(function() {
// the button in the bottom save bar
let edit_action_address = document.getElementById('edit_action_address');
if (edit_action_address !== null) {
edit_action_address.addEventListener('click', function(event) {
let address_edit_form = document.getElementsByName('adress_edit');
if(address_edit_form !== null && typeof address_edit_form[0] === 'object'){
// address_edit_form is a NodeList
address_edit_form[0].submit();
event.preventDefault();
event.stopPropagation();
return false;
}
});
}
});
});