From 309d09683cf35b4b48fb825ff1b239da26330643 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 5 Aug 2013 18:30:13 +0200 Subject: [PATCH] Added maxlength attribute for poll question/options --- com.woltlab.wcf/templates/__messageFormPoll.tpl | 2 +- wcfsetup/install/files/js/WCF.Poll.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.20.1