Quantcast
Channel: Alert.js - CRM 2013-2016 Custom Alerts and Popup Dialogs JavaScript Lightbox
Viewing all articles
Browse latest Browse all 170

New Post: Alert.showWebResource function

$
0
0
I created a custom html webresource and tried to open with Alert.showWebResource function. I placed two buttons: OK and Cancel.

Alert.showWebResource(webresourcename, 600, 500, "Manage regions", [new Alert.Button("OK", UTB.Account.SaveRegions(), true), new Alert.Button("Cancel", UTB.Account.CancelRegions())]);

I created a new Ribbon button that calls this function. Every time I called, the Dialog is displayed and UTB.Account.SaveRegions() and UTB.Account.CancelRegions() functions are fired automatically. I don't understand this issue.

Thanks

Viewing all articles
Browse latest Browse all 170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>