* Adjust code for bug #32763 .
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
.flex-center {display: flex; justify-content: center; align-items: center;}
|
||||
|
||||
/* menu-tree */
|
||||
.menu-tree {flex: 0 0 180px; background: #fff; padding: 10px 10px; overflow: hidden;}
|
||||
.menu-tree {flex: 0 0 200px; background: #fff; padding: 10px 10px; overflow: hidden;}
|
||||
.menu-tree > .tree {padding-top: 20px;}
|
||||
.tree ul {margin-bottom: 0;}
|
||||
#menuTree > li.has-list > ul > li {padding-left: 10px;}
|
||||
@@ -27,7 +27,7 @@
|
||||
.form-item-content > .form-item {gap: 64px; height: 56px; align-items: center; position: relative; width: 500px;}
|
||||
.form-item-content > .form-item.w-expand {width: 700px;}
|
||||
.form-item-content > .form-item > .label {flex: 0 0 160px; padding-left: 40px; background: #F8F8F8; display: flex; align-items: center; color: currentColor; font-size: 13px;}
|
||||
.form-item-content > .form-item > .input-group {margin-left: 20px; width:200px; height:32px;}
|
||||
.form-item-content > .form-item > .input-group {margin-left: 20px; width:180px; height:32px;}
|
||||
.form-item-content > .form-item > .input-group > .input-group-addon {flex: 1 1 30%;}
|
||||
.form-item-content > .form-item > .input-control > input {margin-left: 40px;}
|
||||
.form-item-content > .form-item.active .icon {display: unset;}
|
||||
|
||||
+4
-4
@@ -11,13 +11,13 @@
|
||||
if(config.currentMethod === 'login' || config.currentModule === 'repo' || config.currentMethod.indexOf('edit') != -1 || config.currentMethod.indexOf('import') != -1) return;
|
||||
setTimeout(function()
|
||||
{
|
||||
var form = $('.table-form').parent();
|
||||
var form = $('form[method=post]');
|
||||
if(form.length)
|
||||
{
|
||||
if($(form).attr('target') == 'hiddenwin' && config.currentModule != 'program') return;
|
||||
if($(form).attr('target') == 'hiddenwin' && config.currentModule.indexOf('program') != -1 && config.currentModule.indexOf('project') != -1) return;
|
||||
var formDataID = config.currentMethod + '-' + config.currentModule + '-' + $(form).attr("id");
|
||||
var formDataStored = $.zui.store.get(formDataID);
|
||||
if(formDataStored)
|
||||
if(formDataStored && formDataStored.length)
|
||||
{
|
||||
var message = lang.confirmDraft.replace('%name%', lang[config.currentModule] ? lang[config.currentModule] : '');
|
||||
new $.zui.Messager(message, {
|
||||
@@ -50,7 +50,7 @@
|
||||
}
|
||||
else if((item.name.indexOf(']') != -1) && (item.name.indexOf('[') != -1))
|
||||
{
|
||||
var formItem = $('[id^=' + item.name.replace('[', '').replace(']', '') + ']');
|
||||
var formItem = $('#' + item.name.replace('[', '').replace(']', ''));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user