Commit cac12896 by NGUYEN HOANG SON

#50293 implement operation, template selected callback

parent 3232b92a
......@@ -88,6 +88,15 @@ SendMessage.postMessage = function(message, operationId, sendType) {
});
};
SendMessage.operationSelectedCallback = function(operationId, operationName) {
$('#operationSelected').attr('data-operation-id', operationId);
$('#operationSelected').text(operationName);
}
SendMessage.templateSelectedCallback = function(template) {
$('#messageContent').val(template);
}
/**
* init data, action when screen onload
*/
......
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