|
@@ -2081,6 +2081,7 @@ function fastEdit(e, url, title, col, index, type)
|
|
|
{
|
|
|
var html = '';
|
|
|
var valid = '';
|
|
|
+ var action = '';
|
|
|
|
|
|
if ($(t).find('form').length) {
|
|
|
if ($(t).find('form').length > 1) {
|
|
@@ -2089,6 +2090,7 @@ function fastEdit(e, url, title, col, index, type)
|
|
|
} else {
|
|
|
var form = $(t).find('form').eq(0);
|
|
|
}
|
|
|
+ action = form.attr('action');
|
|
|
form.addClass('fast');
|
|
|
form.find('#function').eq(0).val('showYes');
|
|
|
var html = form.prop("outerHTML");
|
|
@@ -2112,10 +2114,14 @@ function fastEdit(e, url, title, col, index, type)
|
|
|
}
|
|
|
*/
|
|
|
|
|
|
+ if (!action) {
|
|
|
+ type = 2;
|
|
|
+ func = false;
|
|
|
+ }
|
|
|
if (index == 1) {
|
|
|
showAlert(html, func, title, 19850422, type);
|
|
|
} else {
|
|
|
- showAlert(html, func, title, type);
|
|
|
+ showAlert(html, func, title, false, type);
|
|
|
}
|
|
|
$('.layui-layer-content').css('overflow-x', 'hidden');
|
|
|
$('#update_button').hide();
|