@@ -583,6 +583,9 @@
if(options.message)
oPPopup.find('.popup_prompt_text').html(options.message);
+ if(options.value)
+ oPPopup.setValue(options.value);
+
oPPopup.find('.popup_prompt_ok').bind('click', function() {
if(options.onClickOk && typeof(options.onClickOk) == 'function')
options.onClickOk(oPPopup);
@@ -150,7 +150,7 @@ class BxBaseServices extends BxDol implements iBxDolProfileService
{
$oTemplate = BxDolTemplate::getInstance();
- $sInputText = '$bx-popup-prompt-value';
+ $sInputText = 'bx-popup-prompt-value';
$aInputText = array(
'type' => 'text',
'name' => $sInputText,