summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-17 14:04:47 +0000
committerSarven Capadisli <csarven@status.net>2010-01-24 00:20:11 +0100
commit37e642bece04a208a7c7b0bffe8bb1dc3f976d1e (patch)
treea34362b5a1a0bc76405605ade1e128e3094312ea
parent2a1ab137cc233314b4c115d0687c27c7dbaec96f (diff)
Inline script for maxlength is deprecated
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php2
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);