diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-17 14:04:47 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-26 01:13:29 +0100 |
commit | 83eef607f1f01256e7342b421bddbed1fc32d6a6 (patch) | |
tree | c56dfcd7f2bfcb014fb3dc5b3eb84907df3bf55a | |
parent | e9a155db733f5266816ae5904db1eace4af1e2df (diff) |
Inline script for maxlength is deprecated
-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); |