Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
pgogy committed Jul 17, 2012
1 parent 8b1401f commit c8a86cd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion website_code/scripts/template_management.js
Expand Up @@ -1000,7 +1000,15 @@ function remove_this(){

name_string = data_string.split(">");

var response = confirm(name_string[2].split("<").shift() + "\n\n" + DELETE_PROMPT);
if(name_string.length==3){

var response = confirm(name_string[2].split("<").shift() + "\n\n" + DELETE_PROMPT);

}else{

var response = confirm(name_string[1] + "\n\n" + DELETE_PROMPT);

}

}

Expand Down

0 comments on commit c8a86cd

Please sign in to comment.