Changeset 794
- Timestamp:
- 02/25/10 01:16:10 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
framework/branches/2.0/includes/qcubed/_core/base_controls/QFormBase.class.php
r763 r794 1113 1113 // Setup End Script 1114 1114 $strEndScript = ''; 1115 $strEvents = ''; 1115 1116 1116 1117 // First, call regC on all Controls … … 1125 1126 foreach ($this->GetAllControls() as $objControl) 1126 1127 if ($objControl->Rendered) 1127 $strE ndScript.= $objControl->GetEndScript();1128 $strEvents .= $objControl->GetEndScript(); 1128 1129 foreach ($this->objGroupingArray as $objGrouping) 1129 $strE ndScript.= $objGrouping->Render();1130 $strEvents .= $objGrouping->Render(); 1130 1131 1131 1132 // Run End Script Compressor … … 1196 1197 1197 1198 // Create Final EndScript Script 1198 $strEndScript = sprintf('<script type="text/javascript">qc.registerForm(); %s </script>', $strEndScript);1199 $strEndScript = sprintf('<script type="text/javascript">qc.registerForm(); %s; $j(document).ready(function() { %s }); </script>', $strEndScript, $strEvents); 1199 1200 1200 1201 // Persist Controls (if applicable)
