Test button moved to modal footer
This commit is contained in:
parent
bddbc7a0cf
commit
da4f53dbe4
|
@ -57,19 +57,15 @@
|
|||
</div>
|
||||
|
||||
{{formBuilder}}
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Test</label>
|
||||
<div class="controls">
|
||||
<button class="btn x-test"><i class="icon-question x-test-icon"/> Test</button>
|
||||
</div>
|
||||
</div>
|
||||
index
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
{{#if id}}
|
||||
<button class="btn btn-danger pull-left x-remove">delete</button>
|
||||
{{/if}}
|
||||
<button class="btn x-test">test <i class="x-test-icon"/></button>
|
||||
|
||||
<button class="btn" data-dismiss="modal">cancel</button>
|
||||
<button class="btn btn-primary x-save">save</button>
|
||||
</div>
|
|
@ -53,7 +53,6 @@ define([
|
|||
if (testCommand) {
|
||||
this.idle = false;
|
||||
this.ui.testButton.addClass('disabled');
|
||||
this.ui.testIcon.removeClass('icon-question');
|
||||
this.ui.testIcon.addClass('icon-spinner icon-spin');
|
||||
|
||||
var properties = {};
|
||||
|
@ -84,7 +83,6 @@ define([
|
|||
commandPromise.always(function () {
|
||||
if (!self.isClosed) {
|
||||
self.ui.testButton.removeClass('disabled');
|
||||
self.ui.testIcon.addClass('icon-question');
|
||||
self.ui.testIcon.removeClass('icon-spinner icon-spin');
|
||||
self.idle = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue