|
@@ -1747,9 +1747,14 @@ function showAlert(msg, func, title, index)
|
|
}
|
|
}
|
|
|
|
|
|
if (func) {
|
|
if (func) {
|
|
- config.yes = function()
|
|
|
|
|
|
+ config.yes = function(index)
|
|
{
|
|
{
|
|
- func();
|
|
|
|
|
|
+ func(index);
|
|
|
|
+ };
|
|
|
|
+ } else {
|
|
|
|
+ config.yes = function(index)
|
|
|
|
+ {
|
|
|
|
+ layer.close(index);
|
|
};
|
|
};
|
|
}
|
|
}
|
|
var index = layer.open(config);
|
|
var index = layer.open(config);
|
|
@@ -1779,6 +1784,7 @@ function fastEdit(e, url, title, col, index)
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
html = t;
|
|
html = t;
|
|
|
|
+ func = false;
|
|
}
|
|
}
|
|
|
|
|
|
if (index == 1) {
|
|
if (index == 1) {
|