- Fixed the support of Internet Explorer (tested on IE7 and IE8)

- Cleanup of the generated HTML to have page that are XHTML compliant (not yet complete)

SVN:trunk[198]
This commit is contained in:
Denis Flaven
2009-12-18 07:23:14 +00:00
parent d7b3bea8f4
commit abcb687ccc
8 changed files with 40 additions and 39 deletions

View File

@@ -117,6 +117,8 @@ class UILinksWizard
$('#ModalDlg').html(data);
dlgWidth = $(document).width() - 100;
$('#ModalDlg').css('width', dlgWidth);
$('#ModalDlg').css('left', 50);
$('#ModalDlg').css('top', 50);
$('#ModalDlg').jqmShow();
},
'html'
@@ -355,7 +357,7 @@ class UILinksWizard
$oP->add("<input type=\"button\" value=\"Cancel\" onClick=\"$('#ModalDlg').jqmHide();\">&nbsp;&nbsp;<input type=\"submit\" value=\" Add \">");
$oP->Add("</div>\n");
$oP->Add("</form>\n");
$oP->add_ready_script("$('div#SearchFormToAdd form').attr('onSubmit', 'var the_form = this; return SearchObjectsToAdd(the_form.id);');");
$oP->add_ready_script("$('div#SearchFormToAdd form').bind('submit', function() {var the_form = this; SearchObjectsToAdd(the_form.id); return false;});");
}
public function SearchObjectsToAdd(web_page $oP, UserContext $oContext)