diff --git a/application/itopwebpage.class.inc.php b/application/itopwebpage.class.inc.php
index 6f8698deb..dfe51047e 100644
--- a/application/itopwebpage.class.inc.php
+++ b/application/itopwebpage.class.inc.php
@@ -332,6 +332,7 @@ EOF
{
echo "
$s_captured_output
\n";
}
+ echo $this->s_deferred_content;
echo "Please wait...
\n"; // jqModal Window
echo " \n";
echo " \n";
diff --git a/application/ui.linkswidget.class.inc.php b/application/ui.linkswidget.class.inc.php
index a51d132b6..8109dc649 100644
--- a/application/ui.linkswidget.class.inc.php
+++ b/application/ui.linkswidget.class.inc.php
@@ -78,8 +78,8 @@ class UILinksWidget
$sHTMLValue .= "\n";
- $sHTMLValue .= $this->GetObjectPickerDialog($oPage, $sTargetClass, 'oLinkWidget'.$this->m_iInputId.'.OnOk');
- $sHTMLValue .= $this->GetLinkObjectDialog($oPage, $this->m_iInputId);
+ $oPage->add_at_the_end($this->GetObjectPickerDialog($oPage, $sTargetClass, 'oLinkWidget'.$this->m_iInputId.'.OnOk')); // Forms should not be inside forms
+ $oPage->add_at_the_end($this->GetLinkObjectDialog($oPage, $this->m_iInputId)); // Forms should not be inside forms
$sHTMLValue .= "m_iInputId}\" size=\"35\" value=\"\" title=\"Type the first 3 characters\"/>";
$sHTMLValue .= "m_iInputId}\" value=\" Add... \" class=\"action\" onClick=\"oLinkWidget{$this->m_iInputId}.AddObject();\"/>";
$sHTMLValue .= " m_iInputId', '$sExtKeyToRemote');\"/>";
@@ -94,10 +94,13 @@ class UILinksWidget
{
// Few choices, use a normal 'select'
$sHTMLValue = "\n";
}
@@ -274,7 +277,7 @@ EOF;
$sHTML = "\n";
$sHTML .= "
\n";
- $sHTML .= "\n";
+ $sHTML .= "\n";
$sHTML .= "