mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 16:44:11 +03:00
Fix ID style in operator's code field
This commit is contained in:
parent
b9fd28f20f
commit
5a2e48eeef
@ -38,20 +38,20 @@ class OperatorCodeGenerator extends AbstractGenerator
|
||||
("if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 "
|
||||
. "&& window.event.preventDefault) window.event.preventDefault();"
|
||||
. "this.newWindow = window.open(%s + '&operator_code=' "
|
||||
. "+ document.getElementById('mibewOperatorCodeField').value, 'mibew', '%s');"
|
||||
. "+ document.getElementById('mibew-operator-code-field').value, 'mibew', '%s');"
|
||||
. "this.newWindow.focus();"
|
||||
. "this.newWindow.opener=window;"
|
||||
. "return false;"),
|
||||
$this->getChatUrlForJs(),
|
||||
$this->getPopupOptions()
|
||||
),
|
||||
'id' => 'mibewOperatorCodeForm',
|
||||
'id' => 'mibew-operator-code-form',
|
||||
));
|
||||
$form->addChild(HTML5\html(
|
||||
'input',
|
||||
array(
|
||||
'type' => 'text',
|
||||
'id' => 'mibewOperatorCodeField',
|
||||
'id' => 'mibew-operator-code-field',
|
||||
)
|
||||
));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user