]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Inline script for maxlength is deprecated
authorSarven Capadisli <csarven@status.net>
Sun, 17 Jan 2010 14:04:47 +0000 (14:04 +0000)
committerSarven Capadisli <csarven@status.net>
Sat, 23 Jan 2010 23:20:11 +0000 (00:20 +0100)
plugins/MobileProfile/MobileProfilePlugin.php

index 14d2500e8fdc4859d880b46f2e24204ed3291355..d426fc282b34d2a78de1aff98fcadfe76894e7a1 100644 (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);