From: Alexander Ebert Date: Mon, 5 Aug 2013 16:30:13 +0000 (+0200) Subject: Added maxlength attribute for poll question/options X-Git-Tag: 2.0.0_Beta_7~62^2^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=309d09683cf35b4b48fb825ff1b239da26330643;p=GitHub%2FWoltLab%2FWCF.git Added maxlength attribute for poll question/options --- diff --git a/com.woltlab.wcf/templates/__messageFormPoll.tpl b/com.woltlab.wcf/templates/__messageFormPoll.tpl index d012ddbbbe..df842595b7 100644 --- a/com.woltlab.wcf/templates/__messageFormPoll.tpl +++ b/com.woltlab.wcf/templates/__messageFormPoll.tpl @@ -20,7 +20,7 @@
- +
diff --git a/wcfsetup/install/files/js/WCF.Poll.js b/wcfsetup/install/files/js/WCF.Poll.js index 9ee763ae3a..74b5436de0 100644 --- a/wcfsetup/install/files/js/WCF.Poll.js +++ b/wcfsetup/install/files/js/WCF.Poll.js @@ -119,7 +119,7 @@ WCF.Poll.Management = Class.extend({ $('').click($.proxy(this._removeOption, this)).appendTo($buttonContainer); // insert input field - var $input = $('').css({ width: this._inputSize + "px" }).keydown($.proxy(this._keyDown, this)).appendTo($listItem); + var $input = $('').css({ width: this._inputSize + "px" }).keydown($.proxy(this._keyDown, this)).appendTo($listItem); if (insertAfter !== null) { $input.focus();