Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#deleteDialog").dialog({
- autoOpen: false,
- height: 175,
- width: 325,
- modal: true,
- buttons: {
- Delete: function(mode) {
- if(mode == 'project'){
- DeleteProject(ProjectID, $('#<%= this.Master.FindControl("lblUserID").ClientID %>').text());
- $('#lblProjectNumber').text('');
- $(this).dialog('close');
- location.assign(location.href);
- }
- else if (mode == 'drawing')
- {
- DeleteDrawing(DrawingID, $('#<%= this.Master.FindControl("lblUserID").ClientID %>').text());
- }
- },
- Cancel: function() {
- $(this).dialog('close');
- }
- },
- close: function() {
- $('select:not(#deletetDialog select)').show();
- },
- open: function() {
- $('select:not(#deleteDialog select)').hide();
- }
- });
Add Comment
Please, Sign In to add comment