소스 검색

- Allow search forms to be open by default
- Don't make textarea resizable

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1361 a333f486-631f-4898-b8df-5754b55c2be0

dflaven 14 년 전
부모
커밋
5df7c26185
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      application/portalwebpage.class.inc.php

+ 4 - 3
application/portalwebpage.class.inc.php

@@ -127,7 +127,7 @@ try
 			changeMonth: true,
 			changeYear: true
 		});
-	$('.resizable').resizable(); // Make resizable everything that claims to be resizable !
+	//$('.resizable').resizable(); // Make resizable everything that claims to be resizable !
 	$('.caselog_header').click( function () { $(this).toggleClass('open').next('.caselog_entry').toggle(); });
 }
 catch(err)
@@ -468,9 +468,10 @@ EOF
 	}
 	
 	
-	public function DisplaySearchForm($sClass, $aAttList, $aExtraParams, $sPrefix)
+	public function DisplaySearchForm($sClass, $aAttList, $aExtraParams, $sPrefix, $bClosed = true)
 	{
-		$this->add("<div id=\"ds_$sPrefix\" class=\"SearchDrawer DrawerClosed\">\n");
+		$sCSSClass = ($bClosed) ? 'DrawerClosed' : '';
+		$this->add("<div id=\"ds_$sPrefix\" class=\"SearchDrawer $sCSSClass\">\n");
 		$this->add_ready_script(
 <<<EOF
 		$("#dh_$sPrefix").click( function() {