Fix misspelling of "general.js"
This commit is contained in:
parent
8f0487b0ee
commit
2649840644
@ -2,7 +2,7 @@
|
|||||||
* @Author: printempw
|
* @Author: printempw
|
||||||
* @Date: 2016-09-15 10:39:41
|
* @Date: 2016-09-15 10:39:41
|
||||||
* @Last Modified by: g-plane
|
* @Last Modified by: g-plane
|
||||||
* @Last Modified time: 2017-04-26 15:57:50
|
* @Last Modified time: 2017-04-26 23:48:09
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
@ -88,7 +88,7 @@ function trans(key, parameters = {}) {
|
|||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
function showModal(msg, title = 'Messgae', type = 'default', options = {}) {
|
function showModal(msg, title = 'Message', type = 'default', options = {}) {
|
||||||
let btnType = (type != "default") ? "btn-outline" : "btn-primary";
|
let btnType = (type != "default") ? "btn-outline" : "btn-primary";
|
||||||
let onClick = (options.callback === undefined) ? 'data-dismiss="modal"' : `onclick="${options.callback}"`;
|
let onClick = (options.callback === undefined) ? 'data-dismiss="modal"' : `onclick="${options.callback}"`;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user