Created
March 23, 2011 13:49
-
-
Save stej/883107 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<a href="#" class="delete" title="Delete - Deletes the item from the system. This will cancel all bla bla bla." | |
onclick=" | |
var checked = true; | |
var checkUrl = '/cm/Product/294912/CheckDelete'; | |
var data = { | |
__RequestVerificationToken : 'fI0pfQC+Ma7GEnqio5q1......', | |
id: 819200, | |
returnUrl: '......' | |
} | |
if (checkUrl != '') { | |
checked = $.he.jsonCheckAndShowErrors( | |
checkUrl, | |
data, | |
'Cannot Proceed' | |
); | |
} | |
if (checked) { | |
$.he.confirmDialog( | |
'/loc/Product/294912/', | |
data, | |
'Delete', | |
"Do you really want to delete item\u0027XYZ\u0027?\" Deleting it will cancel all bla bla bla.", | |
'Delete', | |
'Cancel' | |
); | |
} | |
return false; | |
">Delete</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment