Commit cc2b9fb6 by NGUYEN HOANG SON

add selected call back when init

parent 5d8e489a
...@@ -50,11 +50,12 @@ OperationSelect.selectOperationClick = function () { ...@@ -50,11 +50,12 @@ OperationSelect.selectOperationClick = function () {
/** /**
* init data, action when screen onload * init data, action when screen onload
*/ */
OperationSelect.init = function () { OperationSelect.init = function (selectedCallback) {
OperationSelect.getOperationSelectData(function (data) { OperationSelect.getOperationSelectData(function (data) {
OperationSelect.createOperationSelectList(data); OperationSelect.createOperationSelectList(data);
}); });
OperationSelect.selectOperationClick(); OperationSelect.selectOperationClick();
OperationSelect.changeSelectCallback = selectedCallback;
}; };
/** /**
......
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