06468163 by Jeff Balicki

rr

1 parent 61c7767f
...@@ -428,11 +428,25 @@ endforeach; ...@@ -428,11 +428,25 @@ endforeach;
428 428
429 429
430 jQuery(tinymce.get('en_html').getBody()).find( ".toc" ).click(function() { 430 jQuery(tinymce.get('en_html').getBody()).find( ".toc" ).click(function() {
431 jQuery(this).parent().remove(); 431 $this = jQuery(this);
432 jQuery.alerts.okButton = 'Yes';
433 jQuery.alerts.cancelButton = 'No';
434 jConfirm('Are you sure you want to delete??', '', function(r) {
435 if (r == true) {
436 $this.parent().remove();
437 }
438 })
432 }); 439 });
433 440
434 jQuery(tinymce.get('fr_html').getBody()).find( ".toc" ).click(function() { 441 jQuery(tinymce.get('fr_html').getBody()).find( ".toc" ).click(function() {
435 jQuery(this).parent().remove(); 442 $this = jQuery(this);
443 jQuery.alerts.okButton = 'Yes';
444 jQuery.alerts.cancelButton = 'No';
445 jConfirm('Are you sure you want to delete??', '', function(r) {
446 if (r == true) {
447 $this.parent().remove();
448 }
449 })
436 }); 450 });
437 451
438 jQuery('#execute_date').datetimepicker({ 452 jQuery('#execute_date').datetimepicker({
......