|
|
@@ -162,6 +162,12 @@ class BxPollsFormEntry extends BxBaseModTextFormEntry
|
|
|
array('js_object' => $sJsObject, 'input_text' => $this->genCustomInputSubentriesText($aInput)),
|
|
|
array('js_object' => $sJsObject, 'input_text' => $this->genCustomInputSubentriesText($aInput))
|
|
|
);
|
|
|
+
|
|
|
+ if (bx_is_api()){
|
|
|
+ $aInput['type'] = 'multi_field';
|
|
|
+ $aInput['subtype'] = 'text';
|
|
|
+ return $aInput;
|
|
|
+ }
|
|
|
|
|
|
return $this->_oModule->_oTemplate->parseHtmlByName('form_subentries.html', array(
|
|
|
'bx_repeat:subentries' => $aTmplVarsSubentries,
|