diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-17 14:04:47 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-17 14:04:47 +0000 |
commit | 07de97a10339ae4a5adbe8dbb4a31c0304f677c3 (patch) | |
tree | bd8b4f0b194768bf43e6df90ab0bf3bace0cc786 /plugins | |
parent | e3dc45d103666b090777a1304ca093ab8f45c803 (diff) |
Inline script for maxlength is deprecated
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MobileProfile/MobileProfilePlugin.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index 14d2500e8..d426fc282 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -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); |