Merge branch 'sunhuawei_fixbug_22072' into 'master'
*Fix bug#22072. See merge request easycorp/zentaopms!3210
This commit is contained in:
@@ -244,7 +244,7 @@ foreach($fieldParams as $fieldName => $param)
|
||||
echo html::submitButton($lang->search->common, '', 'btn btn-primary') . " ";
|
||||
if($style != 'simple')
|
||||
{
|
||||
if(common::hasPriv('search', 'saveQuery')) echo html::a($this->createLink('search', 'saveQuery', "module=$module&onMenuBar=$onMenuBar"), $lang->save, '', "class='btn-save-form btn btn-secondary iframe'") . " ";
|
||||
if(common::hasPriv('search', 'saveQuery')) echo html::a($this->createLink('search', 'saveQuery', "module=$module&onMenuBar=$onMenuBar"), $lang->save, '', "class='btn-save-form btn btn-secondary iframe' id='save-query'") . " ";
|
||||
echo html::commonButton($lang->search->reset, '', 'btn-reset-form btn');
|
||||
}
|
||||
echo html::commonButton('<i class="icon icon-chevron-double-down"></i>', '', 'btn-expand-form btn btn-info pull-right');
|
||||
@@ -303,6 +303,9 @@ $(function()
|
||||
$select.picker(pickerOptions);
|
||||
});
|
||||
|
||||
$('#queryBox select, #queryBox input').change(function(){
|
||||
$('#save-query').attr("disabled","disabled");
|
||||
})
|
||||
/* Toggle user queries action. */
|
||||
$('#toggle-queries').click(function()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user