Couldn't restore a file/action after deleting it
Jeremy D

Jeremy D commited on 2011-12-30 15:57:00
Showing 2 changed files, with 2 additions and 2 deletions.

... ...
@@ -247,7 +247,7 @@ function restore_action()
247 247
 	$('#action-' + action_index + '-delete').val('0');
248 248
 
249 249
 	/* Then we hide this header, collapse the instruct and show the restore button */
250
-	$('#action-' + action_index + '-instruct-' + instruct_index + ' .instructs').show();
250
+	$('#action-' + action_index + '-instruct_container').show();
251 251
 	$('#action-' + action_index + ' .delete_action').show();
252 252
 	$(this).hide();
253 253
 
... ...
@@ -172,7 +172,7 @@ function restore_file()
172 172
 	$('#file-' + file_index + '-delete').val('0');
173 173
 
174 174
 	/* Then we hide this header, collapse the edit and show the restore button */
175
-	$('#file-' + file_index + '-edit-' + edit_index + ' .edits').show();
175
+	$('#file-' + file_index + '-edit_container').show();
176 176
 	$('#file-' + file_index + ' .delete_file').show();
177 177
 	$(this).hide();
178 178
 
179 179