Inline script for maxlength is deprecated

This commit is contained in:
Sarven Capadisli 2010-01-17 14:04:47 +00:00
parent 2a1ab137cc
commit 37e642bece

View File

@ -356,8 +356,6 @@ class MobileProfilePlugin extends WAP20Plugin
$contentLimit = Notice::maxContent();
$form->out->inlineScript('maxLength = ' . $contentLimit . ';');
if ($contentLimit > 0) {
$form->out->element('div', array('id' => 'notice_text-count'),
$contentLimit);