Inline script for maxlength is deprecated

This commit is contained in:
Sarven Capadisli 2010-01-17 14:04:47 +00:00
parent e9a155db73
commit 83eef607f1
1 changed files with 0 additions and 2 deletions

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);