includes/clientside/static/ajax.js
changeset 32 4d87aad3c4c0
parent 30 7e8fd44b36b0
child 40 723bb7acf914
equal deleted inserted replaced
31:dc8741857bde 32:4d87aad3c4c0
   224     }
   224     }
   225   });
   225   });
   226 }
   226 }
   227 
   227 
   228 function ajaxDeletePage() {
   228 function ajaxDeletePage() {
   229   var reason = prompt('Please enter you reason for deleting this page.');
   229   var reason = prompt('Please enter your reason for deleting this page.');
   230   if ( !reason || reason == '' )
   230   if ( !reason || reason == '' )
   231   {
   231   {
   232     return false;
   232     return false;
   233   }
   233   }
   234   c = confirm('You are about to DESTROY this page. Do you REALLY want to do this?');
   234   c = confirm('You are about to REVERSIBLY delete this page. Do you REALLY want to do this?\n\n(Comments and categorization data, as well as any attached files, will be permanently lost)');
   235   if(!c)
   235   if(!c)
   236   {
   236   {
   237     return;
   237     return;
   238   }
   238   }
   239   setAjaxLoading();
   239   setAjaxLoading();