Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.fn.download = function() {
- function popupClosing() {
- $('#download-container').html('<b>TRANSMITTALS DOWNLOADED!</b>');
- setTimeout(function(){
- window.parent.location.href = window.parent.location.href;
- }, 1500);
- }
- $('#download-transmittal-btn').on('click', function(e) {
- $('#download-container').html('<img width="200" src="../images/ajax-loader_blue.gif"></br>Generating Transmittals...');
- setTimeout(function(){
- var w = window.open("../scripts/php/check_transmittal.php", "MsgWindow", "width=500,height=200");
- w.onunload = function(){
- popupClosing()
- };
- }, 1500);
- });
- } // End of $.fn.download = function()
- $.fn.reuse_box = function() {
- function popupClosing() {
- $('#box-reply-container').html('<b>BOX SELECTED</b>');
- setTimeout(function(){
- window.parent.location.href = window.parent.location.href;
- }, 1500);
- }
- $('#reuse-box-btn').on('click', function(e) {
- e.preventDefault();
- $('#box-reply-container').html('<img width="200" src="../images/ajax-loader_blue.gif"></br>Generating box list...');
- setTimeout(function(){
- var w = window.open("../scripts/php/claims_boxing_reuse.php", "MsgWindow", "width=450,height=500");
- w.onunload = function(){
- popupClosing()
- };
- }, 1500);
- });
- } // End of $.fn.reuse_box = function()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement