commit
103f114b67
@ -91,8 +91,8 @@ class MsgboxComponent: Reactor.Component {
|
|||||||
var color = this.getColor();
|
var color = this.getColor();
|
||||||
var icon = this.getIcon(color);
|
var icon = this.getIcon(color);
|
||||||
var content = this.getContent();
|
var content = this.getContent();
|
||||||
var hasCancel = this.type.indexOf("error") < 0 && this.type != "success" && this.type.indexOf("nocancel") < 0;
|
var hasCancel = this.type.indexOf("error") < 0 && this.type.indexOf("nocancel") < 0;
|
||||||
var hasOk = this.type != "connecting" && this.type.indexOf("nook") < 0;
|
var hasOk = this.type != "connecting" && this.type != "success" && this.type.indexOf("nook") < 0;
|
||||||
var hasClose = this.type.indexOf("hasclose") >= 0;
|
var hasClose = this.type.indexOf("hasclose") >= 0;
|
||||||
var show_progress = this.type == "connecting";
|
var show_progress = this.type == "connecting";
|
||||||
var me = this;
|
var me = this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user