- Safer way to pass information through the WizardHelper JS object.

- Removed an unneeded size=100% that bothers IE.

SVN:trunk[960]
This commit is contained in:
Denis Flaven
2010-11-22 13:27:41 +00:00
parent ed39fa2c96
commit b30d6c4888
2 changed files with 3 additions and 2 deletions

View File

@@ -670,7 +670,7 @@ EOF
echo ' </div>';
echo ' <div class="header-menu">';
echo ' <div class="icon ui-state-default ui-corner-all"><span id="tPinMenu" class="ui-icon ui-icon-pin-w">pin</span></div>';
echo ' <div style="width:100%; text-align:center;">'.$sForm.'</div>';
echo ' <div style="text-align:center;">'.$sForm.'</div>';
echo ' </div>';
echo ' <div id="menu" class="ui-layout-content">';
echo ' <div id="inner_menu">';
@@ -756,6 +756,7 @@ EOF
echo $this->s_deferred_content;
echo "<div style=\"display:none\" title=\"ex2\" id=\"ex2\">Please wait...</div>\n"; // jqModal Window
echo "<div style=\"display:none\" title=\"dialog\" id=\"ModalDlg\"></div>";
echo "<div style=\"display:none\" id=\"ajax_content\"></div>";
echo "</body>\n";
echo "</html>\n";

View File

@@ -106,7 +106,7 @@ function WizardHelper(sClass, sFormPrefix)
$.post('ajax.render.php',
{ operation: 'wizard_helper', json_obj: this.ToJSON() },
function(html){
$('body').append(html);
$('#ajax_content').html(html);
//console.log('data received:', oWizardHelper);
//oWizardHelper.FromJSON(json_data);
//oWizardHelper.UpdateFields(); // Is done directly in the html provided by ajax.render.php