bug/bug.xhtml | 14 +++++++++++++- bug/bug/bug.js | 3 ++- 2 files changed, 15 insertions(+), 2 deletions(-)
New commits: commit 9de10160e8fedf99dfe00e84767b04078e0e4d36 Author: Loic Dachary <l...@dachary.org> Date: Wed Sep 21 16:02:43 2011 +0200 provide a text guide for the reporter to follow diff --git a/bug/bug.xhtml b/bug/bug.xhtml index 5db5438..c0deed1 100644 --- a/bug/bug.xhtml +++ b/bug/bug.xhtml @@ -126,7 +126,19 @@ <div class="subject">Subject:</div> <div class="subject-input"><input type="text" class="short" size="50"></input></div> <div class="desciption">Long description:</div> - <div class="description-input"><textarea rows="10" cols="60" class="long"></textarea></div> + <div class="description-input"><textarea rows="10" cols="60" class="long"> +Problem description: + +Steps to reproduce: +1. .... +2. .... +3. .... + +Current behavior: + +Expected behavior: + </textarea> + </div> </div> <div class="state state_submit"> diff --git a/bug/bug/bug.js b/bug/bug/bug.js index e01a8ea..5c5b2d1 100644 --- a/bug/bug/bug.js +++ b/bug/bug/bug.js @@ -146,10 +146,11 @@ state_description: function() { var element = $('.state_description'); + var template = $(".long", element).val(); if(!element.hasClass('initialized')) { var validate = function() { if($(".short", element).val().length > 3 && - $(".long", element).val().length > 10) { + $(".long", element).val() != template) { $.bug.state_submit(); } }; _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits