aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/fixmystreet.js
Commit message (Collapse)AuthorAgeLines
* Fix JS-disabled submission in Chrome/Firefox.Hakim Cassimally2014-11-14-0/+4
| | | | | | | | | | | Fixes #932, which is caused by HTML5 validation firing for hidden elements, by setting #mapForm to novalidate by default, and reverting this in fixmystreet.js. Note that the 'novalidate' attribute, which is honoured by the browsers' HTML5 validation, isn't to be confused with the class (class="validate") which is picked up by fixmystreet.js, and therefore not problematic for the no-js case.
* [fixmystreet.com] Remove login content experiment.Matthew Somerville2014-10-17-4/+0
| | | | This gave no conclusive results, which was interesting.
* Add fixmystreet.com reporting form A/B tests.Matthew Somerville2014-07-10-0/+4
| | | | | | Testing two things: * Putting the email box above the Yes/No, or repeating it inside. * Showing the contents of the Yes/No sections at first, or not.
* Allow cobrands to set their own path to pin filesHakim Cassimally2014-03-25-1/+5
| | | | | | | | | New cobrand function of pin_path that sets the path to where the image files for pins are located. Defaults to /i This still means they need to use the same file names but they can at least put those in a cobrand directory rather than having to overwrite the files in /i or fudge it with pin_colour
* Separate login/registration to two forms, as it's admin only (fixes a7).Matthew Somerville2013-02-08-1/+3
|
* use white (geocode) loading spinner on white backgroundDave Whiteland2013-02-05-1/+2
|
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-04-8/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/open311-populate-service-list bin/send-comments bin/update-all-reports conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/App/Controller/Reports.pm perllib/FixMyStreet/Cobrand/Default.pm perllib/FixMyStreet/Cobrand/LichfieldDC.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/Result/Problem.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/FixMyStreet/SendReport.pm perllib/FixMyStreet/SendReport/Email.pm perllib/FixMyStreet/SendReport/Open311.pm perllib/Open311/GetServiceRequestUpdates.pm perllib/Open311/PopulateServiceList.pm t/app/controller/report_new.t t/app/controller/rss.t templates/web/bromley/report/display.html templates/web/default/admin/council_contacts.html templates/web/default/common_header_tags.html templates/web/default/dashboard/index.html templates/web/default/front/stats.html templates/web/default/report/_main.html templates/web/default/report/update-form.html templates/web/emptyhomes/index.html templates/web/emptyhomes/report/display.html templates/web/emptyhomes/report/new/councils_text_all.html templates/web/emptyhomes/reports/body.html templates/web/emptyhomes/reports/index.html templates/web/fixmystreet/report/new/fill_in_details_form.html templates/web/fixmystreet/report/update-form.html web/cobrands/fixmystreet/fixmystreet.js web/js/fixmystreet.js
| * Get remaining English hardcoded strings from JavaScript into translatable ↵Matthew Somerville2013-01-24-4/+4
| | | | | | | | template.
| * Add some missing JS translatable strings, update .po files.Matthew Somerville2013-01-16-4/+4
| |
* | Merge branch 'centro'Struan Donald2013-01-04-7/+1
|\ \ | |/ |/| | | | | Conflicts: perllib/FixMyStreet/Cobrand/Default.pm
| * move validation rules out to a template so cobrands can override themStruan Donald2012-12-06-7/+1
| |
* | Make translation of geolocation text on homepage possibleSteven Day2012-12-10-1/+1
|/
* Add auto-location to alert page (fixes #23).Matthew Somerville2012-10-12-3/+6
|
* Fix JS validation of name to make sure validName has at least two partsStruan Donald2012-06-21-3/+9
| | | | Change report updates so validName required for Bromley but not elswhere
* add first name and last name boxes for bromleyStruan Donald2012-03-30-0/+9
|
* Old style design JS left is just to open a box, so that's say that.Matthew Somerville2012-03-28-23/+175
|
* Start to consolidate disparate JavaScript files.Matthew Somerville2012-03-28-156/+0
|
* use delegation to attach change event to form_category so it survives being ↵Dave Whiteland2012-02-17-3/+4
| | | | repopulated
* remove hidden class as otherwise we can never display an error for that fieldStruan Donald2012-01-16-1/+1
|
* fix iOS JS validation display issues ( fixes #187)Struan Donald2012-01-16-9/+1
|
* improved comment explaining iOS code pathStruan Donald2012-01-13-3/+3
|
* only do non .before things on iosStruan Donald2012-01-13-1/+2
|
* make changes as suggested by jslintStruan Donald2012-01-11-8/+11
|
* Revert "Putting in a bad comma to test."Matthew Somerville2011-12-20-1/+1
| | | | This reverts commit e0a99bd0baf619879a4cc304b9ba22df20506fa1.
* Putting in a bad comma to test.Matthew Somerville2011-12-20-1/+1
|
* fix to js validation when map clicking is skippedStruan Donald2011-12-05-5/+14
|
* need to explicitly add rules to make validation work in IE 8Struan Donald2011-11-25-0/+7
|
* change the way we display validation errors to get round ios 5 bugStruan Donald2011-11-24-1/+9
|
* upgrade jquery validation plugin so we are not using a patched versionStruan Donald2011-11-18-2/+0
|
* Merge remote branch 'origin/master' into js-validationStruan Donald2011-11-18-0/+21
|\
| * actually make the fetching of open311 extra info fields workStruan Donald2011-10-20-1/+2
| |
| * remove javascript eval and send down html insteadStruan Donald2011-10-20-27/+12
| |
| * make the additional information fields work with js update of category dropdownStruan Donald2011-10-20-25/+34
| |
| * Merge remote branch 'origin/master' into open311-consumerStruan Donald2011-10-10-0/+2
| |\
| * \ Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-09-08-0/+28
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | into open311-consumer Conflicts: web/css/core.css web/js/fixmystreet.js
| * | | yet another attempt at storing the service detail informationStruan Donald2011-08-04-4/+10
| | | | | | | | | | | | | | | | | | | | this time we sort as we store so we don't need to do this every time we display the information
| * | | correct scopingStruan Donald2011-08-03-3/+4
| | | |
| * | | remove redundant p tags and make heading into a headingStruan Donald2011-08-03-2/+2
| | | |
| * | | rejig data structure so we can sort the extra fieldsStruan Donald2011-08-03-4/+6
| | | |
| * | | slight neatening of data structure and some html tidy upStruan Donald2011-08-01-1/+1
| | | |
| * | | display and save extra info for open311 reportsStruan Donald2011-08-01-0/+17
| | | |
* | | | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-09-21-0/+2
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | into js-validation Conflicts: templates/web/default/report/display.html
| * | | Tidy up a bit of CSS.Matthew Somerville2011-09-08-0/+2
| | |/ | |/|
* | | make sure we can see the error message when we scroll to an invalid fieldStruan Donald2011-09-08-0/+7
| | |
* | | some helpful commentsStruan Donald2011-09-08-2/+5
| | |
* | | use dev validate plugin with patched so can use use required attribute and ↵Struan Donald2011-09-08-17/+0
| | | | | | | | | | | | also not need to add filters to jquery
* | | create a different valid class if we have not submitted the form to stop ↵Struan Donald2011-09-07-1/+5
| | | | | | | | | | | | jumping about
* | | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-09-07-0/+28
|\| | | | | | | | | | | | | | | | | | | | into js-validation Conflicts: templates/web/default/common_header_tags.html
| * | Add geolocation.Matthew Somerville2011-09-06-0/+28
| |/
* | leave the spaces created by error msg where they are to avoid unsightly ↵Struan Donald2011-09-06-4/+6
| | | | | | | | jumping about