popup schliessen
This commit is contained in:
parent
f86695c9c3
commit
a316c1298c
|
@ -71,7 +71,6 @@ var global_load = null;
|
|||
});
|
||||
|
||||
$(where + " form").submit(function(e) {
|
||||
$("#popup").modal('hide');
|
||||
if ($(this).attr('enctype') != 'multipart/form-data') {
|
||||
stopLoad(e);
|
||||
if ($(this).hasClass('tableForm')) {
|
||||
|
@ -163,6 +162,7 @@ var global_load = null;
|
|||
});
|
||||
}
|
||||
function setContent(data, back, tab, backignore) {
|
||||
$("#popup").modal('hide');
|
||||
title = data.split('<title>')[1].split('</title>')[0];
|
||||
if (title.trim().length > 0) {
|
||||
document.title = title.trim();
|
||||
|
@ -205,7 +205,8 @@ var global_load = null;
|
|||
}
|
||||
}
|
||||
function setContentError(data, back, tab) {
|
||||
alert = "<div class=\"alert alert-danger\">" + data.statusText +
|
||||
$("#popup").modal('hide');
|
||||
alert = "<div class=\"alert alert-danger\">" + data.statusText +
|
||||
"<button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button>"
|
||||
+ "</div>";
|
||||
$('#alert').removeClass('old');
|
||||
|
@ -214,7 +215,7 @@ var global_load = null;
|
|||
$('#container').html(data.responseText);
|
||||
event("#container");
|
||||
}
|
||||
function load(pageurl, conf, tab) {
|
||||
function load(pageurl, conf, tab) {
|
||||
data = {};
|
||||
typemethode = "GET";
|
||||
back = false;
|
||||
|
|
Loading…
Reference in New Issue