Commit 96a65d0b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

rename initGeneralProperties -> prepareDialogForGeneralProperties.

parent b09d93f7
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
}); });
}; };
that.initGeneralProperties = function () { that.prepareDialogForGeneralProperties = function () {
var fieldset = $("#general-fieldset"), var fieldset = $("#general-fieldset"),
previous_data = that.getData()['general'], previous_data = that.getData()['general'],
previous_value = "", previous_value = "",
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
general_properties[element.id] = element._default; general_properties[element.id] = element._default;
}); });
that.setGeneralProperties(general_properties); that.setGeneralProperties(general_properties);
that.initGeneralProperties(); that.prepareDialogForGeneralProperties();
}; };
/** Runs the simulation, and call the callback with results once the /** Runs the simulation, and call the callback with results once the
......
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
}); });
dream_instance.updateGeneralProperties(data.general); dream_instance.updateGeneralProperties(data.general);
dream_instance.initGeneralProperties(); // XXX dream_instance.prepareDialogForGeneralProperties();
$("#json_output").val(JSON.stringify(dream_instance.getData(), $("#json_output").val(JSON.stringify(dream_instance.getData(),
undefined, " ")); undefined, " "));
if ($.isEmptyObject(coordinates)) { if ($.isEmptyObject(coordinates)) {
......
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