Created
June 4, 2018 22:43
-
-
Save EliJDonahue/a1d01ab263b9207b4198632a50d43dcc to your computer and use it in GitHub Desktop.
A snippet of Innovator\Client\javascript\ItemsGrid\InBasketTaskGrid.js
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
var showModalDialogWithDelay = function(url, paramsObj, windowOptions, doRepopulateAfterDialog) { | |
alert("showing modal with delay"); | |
setTimeout(function() { | |
windowOptions.resizable = true; | |
windowOptions.scroll = true; | |
windowOptions.status = false; | |
windowOptions.help = false; | |
paramsObj.content = url; | |
paramsObj.isPopup = true; | |
// var dialog = window.parent.ArasModules.Dialog.show('iframe', Object.assign({}, paramsObj, windowOptions)); | |
var dialog = window.parent.ArasModules.MaximazableDialog.show('iframe', Object.assign({}, paramsObj, windowOptions)); | |
dialog.promise.then(function(data) { | |
doSearch(); | |
}); | |
}, 10); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment