Commit 62266291 authored by Jérome Perrin's avatar Jérome Perrin

also reset id generator upon clear all

parent 4a95b4fb
...@@ -204,6 +204,7 @@ ...@@ -204,6 +204,7 @@
// Enable "Clear All" button // Enable "Clear All" button
$("#clear_all").button().click( $("#clear_all").button().click(
function(e){ function(e){
id_container = {};
dream_instance.clearAll(); dream_instance.clearAll();
e.preventDefault(); e.preventDefault();
return false; return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment