commit
c1f4d46f75
|
@ -203,6 +203,10 @@ define([
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#edit-link-edit').toggleClass('disabled', (_linkType==c_oHyperlinkType.WebLink) && _.isEmpty($('#edit-link-url input').val()));
|
$('#edit-link-edit').toggleClass('disabled', (_linkType==c_oHyperlinkType.WebLink) && _.isEmpty($('#edit-link-url input').val()));
|
||||||
|
$('#edit-link-url input[type=url]').single('input', _.bind(function (e) {
|
||||||
|
$('#edit-link-edit').toggleClass('disabled', _.isEmpty($(e.currentTarget).val()));
|
||||||
|
}, me));
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -219,7 +219,9 @@ define([
|
||||||
|
|
||||||
showSetApp: function () {
|
showSetApp: function () {
|
||||||
this.showPage('#settings-application-view');
|
this.showPage('#settings-application-view');
|
||||||
$('.page[data-page=settings-application-view] .page-content > :not(.display-view)').hide();
|
if (!isEdit) {
|
||||||
|
$('.page[data-page=settings-application-view] .page-content > :not(.display-view)').hide();
|
||||||
|
}
|
||||||
if (isShowMacros) {
|
if (isShowMacros) {
|
||||||
$('#settings-macros').single('click', _.bind(this.showMacros, this));
|
$('#settings-macros').single('click', _.bind(this.showMacros, this));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue