mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- 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:
@@ -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";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user