Skip to content
Snippets Groups Projects
  1. Jan 20, 2015
  2. Jan 19, 2015
  3. Jan 16, 2015
    • Sandy Carter's avatar
    • Denis Ledoux's avatar
      [IMP] res_lang: constraint for grouping field · 5959c416
      Denis Ledoux authored
      As entering a wrong value in the grouping field of res.lang,
      for instance '[,]', leads to an unavailability of the web interface,
      We add a constraint to prevent entering wrong values.
      5959c416
    • Richard Mathot's avatar
      [FIX] survey: avoid navigation crash · f9376905
      Richard Mathot authored
      If a survey has "allow users to go back" option enabled, users can go back to previous pages and change their answers before submitting the whole survey.
      
      This commit fixes the very special case, when the user reaches the last page of the survey, then click on "Previous" button, then reopen the survey from the invitation URL (/survey/fill/<survey_id>/<token> without the /prev flag in the URL). This won't crash anymore.
      
      This commit fixes #2658 and #2680.
      f9376905
    • Richard Mathot's avatar
      [FIX] survey: prefill glitch · b117fcfb
      Richard Mathot authored
      When user answers to multiple suggestion questions with a comment box,
      the comment box was prefilled with the ID's of the suggestion instead of
      user-entered data.
      
      This commit fixes #3149 and closes #3171.
      b117fcfb
    • Richard Mathot's avatar
      [REM] survey: unused import · dbb9c8eb
      Richard Mathot authored
      dbb9c8eb
    • Richard Mathot's avatar
      [FIX] survey: prevent pointless AJAX request · 11f147f2
      Richard Mathot authored
      Avoid creation of doublon survey_user_input entries when a user loads the landing page of a survey (/survey/start/... route).
      
      Due to some strange spec, jQuery.ajax() function called with "undefined" URL will do an extra call to the URL of the webpage where the script lies (http://api.jquery.com/jQuery.ajax/). Now, we check that URL is not "undefined" to avoid those calls.
      
      By the way, this problem probably happened in every page that had survey.js in its assets... (correct loading of survey.js is fixed in saas-6 at 4dd5dbb2, this fix is complementary.)
      
      This commit fixes #3032 and closes #3337 #3338 #3092.
      11f147f2
    • Martin Trigaux's avatar
      [IMP] website_twitter: remove debugger · 07ccd6c1
      Martin Trigaux authored
      07ccd6c1
    • Denis Ledoux's avatar
      b5e62214
    • Martin Trigaux's avatar
      [FIX] base: keep first multiline translation in po file · 2f5a7b63
      Martin Trigaux authored
      The first term of a po file is a comment for translator e.g.:
      msgid ""
      msgstr ""
      "Project-Id-Version: openobject-addons\n"
      ...
      
      This comment is ignored if there is no source and it is the first term of the po
      file. The first flage was disabled too late and if the following terms also
      started with an empty source (for too long terms), they were skipped as well.
      
      Disable the flag as soon as the condition is evaluated to make sure no
      additional terms are ignored. opw 619786
      2f5a7b63
Loading