var obj = this;
switch(action) {
+
case 'create_report' :
hideMe(DOM.oils_rpt_folder_table_right_td);
unHideMe(DOM.oils_rpt_folder_table_alt_td);
new oilsRptReportEditor(new oilsReport(objs[0]), this);
break;
case 'delete_report' :
- if(!confirmId('oils_rpt_folder_contents_confirm_delete')) return;
+ if(!confirmId('oils_rpt_verify_report_delete')) return;
this.deleteReports(objs, 0, successCallback);
break;
case 'delete_template' :
- if(!confirmId('oils_rpt_folder_contents_confirm_delete')) return;
+ if(!confirmId('oils_rpt_verify_template_delete')) return;
this.deleteTemplates(objs, 0, successCallback);
break;
} else {
+
// var req0 = new Request( OILS_RPT_TEMPLATE_HAS_RPTS, SESSION, tmpl.id() );
// req0.callback(
// function(r0) {
You may not move another user's items
</span>
+ <span class='hide_me' id='oils_rpt_verify_template_delete'>
+ This will also delete all of your attached reports and outputs for
+ this template.
+
+ If other users have reports or outputs attached to this template,
+ those will be left untouched and the template will not be deleted.
+
+ Do you wish continue?
+ </span>
+
+ <span class='hide_me' id='oils_rpt_verify_report_delete'>
+ This will also delete all of your attached outputs for
+ this report.
+
+ If other users have outputs attached to this report,
+ those will be left untouched and the report will not be deleted.
+
+ Do you wish continue?
+ </span>
+
</div>