Last active
March 16, 2024 18:45
-
-
Save CmdrMahesh/3b2b1c7528cbca4f5464db5b1357d845 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery('#ai1wm-backups-list').on('click', '.ai1wm-backup-restore', function (e) { | |
e.preventDefault(); | |
var modelimport = new Ai1wm.Import(); | |
var storage = Ai1wm.Util.random(12); | |
var options = Ai1wm.Util.form('#ai1wm-backups-form').concat({ name: 'storage', value: storage }).concat({ name: 'archive', value: jQuery(this).data('archive') }); | |
// Set global params | |
modelimport.setParams(options); | |
// Start import | |
modelimport.start(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment