Allow custom skin in dialog button

This commit is contained in:
Mutahhir 2016-02-18 10:16:47 +00:00
parent e8bb08d422
commit 267da09e98

View File

@ -301,7 +301,7 @@ define(function(require, module, exports) {
break;
case "button":
node = new ui.button({
skin: "btn-default-css3",
skin: options.skin || "btn-default-css3",
"class" : options.color ? "btn-" + options.color : "",
margin: options.margin,
caption: options.caption || "",