Commit Graph

28 Commits

Author SHA1 Message Date
Olivier PEREZ
44c24493b6 Check date format and display warning on the failing fields 2015-11-30 22:23:57 +01:00
Olivier PEREZ
4cf28bf8f6 Nice effect for adding CSS class has-error 2015-11-30 22:12:09 +01:00
Olivier PEREZ
1c8a41dc02 Add has-error CSS class when dates are not ordered + stop checking if first date is not passed 2015-11-30 22:06:07 +01:00
Olivier PEREZ
9accf7dab8 Add modal to insert an interval of dates 2015-11-30 21:04:17 +01:00
JosephK
801dc150e2 Only one day needed to submit 2015-11-19 15:38:27 +01:00
Antonin
91de1661bb Inlining a change event 2015-10-30 22:02:24 +01:00
Antonin
bb37d16dff Sugar for comment sending.
- Do not send if comment empty
    - Disable submit button while submit is in progress
2015-10-29 11:52:13 +01:00
Antonin
161b6b14c0 Password options are used with poll creation.
- Just found that the "hidden" parameter wasn't...
2015-10-29 11:52:13 +01:00
Antonin
5552cc4d9d studs.js refactoring.
- Replacing "" by ''
    - Use chaining when possible
    - Correct the scrolling on comment correctly set.
2015-10-26 16:49:32 +01:00
Antonin
166927f8af Ajaxifisation des commentaires.
- Permet de ne pas perdre ses votes à l'ajout d'un commentaire.
	- On rafraichit aussi à l'envois du commentaire la liste des commentaires.

Fix #3
2015-10-22 22:50:53 +02:00
Antonin
de18f826f0 The name can be any value.
There is no reason to limit the caracters that can be used in the name.
Thus, removing the regex.

Fix #97
2015-10-12 21:26:13 +02:00
JosephK
20378e7fb7 No = fake btn unchecked in vote form + icon display onload and mouseover in results 2015-06-17 23:13:44 +02:00
Olivier PEREZ
474c595b88 Classic poll: Don't submit choices form if form is not completed 2015-05-31 16:02:21 +02:00
Olivier PEREZ
94f80687f3 Don't submit dates form if form is not completed 2015-05-31 15:45:26 +02:00
Olivier PEREZ
4392dde5dc Display datepicker when click in field 2015-05-24 23:51:54 +02:00
Olivier Perez
a1de8def6b Smartysize step 2 of date poll creation 2015-04-16 13:10:28 +02:00
Antonin
3043ce044f Merge branch 'develop' into feature/hidden-and-private-polls 2015-04-06 12:46:31 +02:00
Antonin
db69a9a695 Merge remote-tracking branch 'upstream/develop' into develop 2015-04-06 12:44:51 +02:00
Antonin
0c2ba20bfa Added option of poll with hidden results. 2015-04-05 18:36:43 +02:00
Antonin
6d31f180e3 Javascript protection on invalid name : can now use form submission. 2015-04-02 17:25:01 +02:00
Olivier PEREZ
e4fbed487a Fix: date picker that doesn't appear when clicking on calendar icon 2015-04-02 17:05:24 +02:00
Olivier PEREZ
b298c61869 Fix problem when user want to edit a line, and see the msg 'The name is invalid' 2015-03-29 16:02:48 +02:00
Olivier PEREZ
40d707c96d Issue #18 Add search engine on admin polls list 2015-03-27 13:10:46 +01:00
Antonin
b3d79da0a6 Changing message creation logic. 2015-03-26 17:09:52 +01:00
Antonin
b66a47ef67 Added simple javascript check for the name.
- The goal here is to prevent the losing of the choices by having a bad name.
	- This is a POC, there is probably some cleaning before merge
2015-03-26 16:33:11 +01:00
Olivier PEREZ
f8611c09d6 Complete date field on the all the screen that call framadatepicker.js 2015-03-05 21:01:26 +01:00
Olivier PEREZ
d6500a77d9 Fix Issue #35 : Complete date field when user fills only day+month 2015-03-05 18:10:41 +01:00
Olivier PEREZ
6bbe03758c Start splitting core.js
New files :
* classic_poll.js -> loaded on page choix_autre.php
* date_poll.js -> loaded on page choix_date.ph
* framadatepicker.js -> loaded on pages that need the date picker
2015-03-05 14:59:32 +01:00