Get started on input validation and config page clean-up.

Minor UI adjustments.
This commit is contained in:
Tim 2015-07-02 19:05:59 +02:00
parent 55efb0a711
commit b244e09c24
8 changed files with 47 additions and 17 deletions

View file

@ -15,6 +15,14 @@ function initConfigCheckbox(elem) {
});
}
function refreshTab() {
var url = $(location).attr('href');
var tabId = $('.ui-tabs-panel:visible').attr("id");
$('.ui-tabs-panel:visible').load(url + " #"+ tabId, function() {
initThisPage();
});
}
function showMsg(msg,loader,timeout,ms) {
var feedback = $("#ajaxMsg");
update = $("#updatebar");