* adjust for overflow auto when fields too more.

This commit is contained in:
wangyidong
2016-04-29 16:04:36 +08:00
parent ef94ddb284
commit b0db3d1128
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@
*/
?>
<style>
form{overflow-x:auto;}
#customModal .checkbox-inline{width:90px}
#customModal .checkbox-inline+.checkbox-inline{margin-left:0px;}
</style>
+1 -1
View File
@@ -589,7 +589,7 @@ class testcase extends control
/* Judge whether the editedTasks is too large and set session. */
$showSuhosinInfo = false;
$showSuhosinInfo = $this->loadModel('common')->judgeSuhosinSetting(count($cases), count(explode(',', $this->config->testcase->custom->batchedit)) + 3);
$showSuhosinInfo = $this->loadModel('common')->judgeSuhosinSetting(count($cases), count(explode(',', $this->config->testcase->custom->batchEditFields)) + 3);
$this->app->session->set('showSuhosinInfo', $showSuhosinInfo);
if($showSuhosinInfo) $this->view->suhosinInfo = $this->lang->suhosinInfo;