Commit graph

238 commits

Author SHA1 Message Date
Colin Kuskie
982e5117f1 Fix shortcut hoverhelp, javascript, and criteria builder usability. Fixes bug #11516 2010-04-06 13:53:51 -07:00
Colin Kuskie
33c54b66b6 Fix bug #11469, multi-allocation slider doesn't work. Make sure that allocMax is set in all cases. 2010-04-06 11:14:53 -07:00
Colin Kuskie
16a2e4e398 Fix some more surve JS i18n. 2010-03-15 14:20:52 -07:00
Colin Kuskie
f582bfd99e Fix some broken Survey i18n (Add Section). Add i18n for object edit dialog buttons. 2009-12-14 11:26:08 -08:00
Colin Kuskie
3b08b5184c Initialize the editor before rendering the intial dialog box for the Section Editor. Fixes bug #11297. 2009-12-14 10:08:28 -08:00
Colin Kuskie
03d9263079 Fix a JS typo in the Edit Survey screen. Fixes bug #11247. 2009-11-17 07:48:12 -08:00
daviddelikat
7f6c24e7e0 rather a lot of debugging in the EMS Submission system 2009-11-15 22:02:36 -06:00
daviddelikat
3b9902e395 cleaned up the EMS submission system 2009-11-11 22:29:21 -06:00
daviddelikat
707215cf3f recover lost work from git 2009-11-06 11:05:59 -06:00
Colin Kuskie
3c985a5eed Finish reverting EMS Submissions.
This reverts commit aab3a74026.
2009-11-05 17:03:28 -08:00
Colin Kuskie
4597dac8b7 Reverting EMS Submissions.
This reverts commit 6932ddfeb3.
2009-11-05 16:41:04 -08:00
daviddelikat
6932ddfeb3 added upgrade script 2009-11-04 10:14:11 -06:00
daviddelikat
aab3a74026 Merge branch 'master' of git@github.com:plainblack/webgui 2009-11-04 09:42:35 -06:00
Colin Kuskie
263cc56175 i18n the Survey Edit console. Button labels the dialog title bar. Fixes bug #11197 2009-11-04 15:50:46 -08:00
Colin Kuskie
f9d97f2ce7 Always recreate the listener for the question and answer buttons, since their arguments change. Fixes bug #10985. 2009-11-04 15:13:26 -08:00
daviddelikat
6b24783385 all tests pass, manual testing passes 2009-11-04 09:41:24 -06:00
daviddelikat
c8b97d83fe more wokr all around 2009-11-02 09:01:44 -06:00
daviddelikat
10ddac6c58 lots of work... 2009-10-31 09:41:56 -05:00
daviddelikat
debcdd08a5 initial coding on activities
lots of debugging
2009-10-29 09:05:42 -05:00
daviddelikat
cd66dbb780 not exactly working at the moment 2009-10-28 10:13:48 -05:00
daviddelikat
55ae893c93 tabs mostly working 2009-10-28 09:12:41 -05:00
daviddelikat
1155408243 data table is formatted correctly 2009-10-27 08:58:01 -05:00
daviddelikat
bd6d061f51 table data works -- needs formatting 2009-10-27 07:51:00 -05:00
daviddelikat
f263c2032c lots of new stuff 2009-10-26 09:56:37 -05:00
daviddelikat
d114084a76 started submission queue 2009-10-22 11:11:18 -05:00
Kaleb Murphy
2131e9f75a Corrected IE6/7 bugs while managing not to reintroduce the mem leak bug. 2009-08-27 18:30:30 +00:00
Patrick Donelan
491e06bf7d Fixed Suvery Number js validation
Attaching the number validation code to onkeydown was very problematic.
Changing to onblur is much cleaner, and probably nicer for the user.
This commit also fixes the problem that Number questions without a 'step'
set would not be checked for 'required'-ness.
2009-08-24 08:31:02 +00:00
Colin Kuskie
9c698f31ff Refix rendering problem with add/edit field dialog in Thingy. 2009-07-06 22:25:12 +00:00
Patrick Donelan
9ac8ca9137 Survey: stopped RTE from overlapping dialog buttons in Edit Survey page 2009-06-26 02:29:51 +00:00
Patrick Donelan
d820d43760 Fixed #10520 - Survey responses get confused if survey structure modified
Survey responses are now revision-aware.
The survey structure gets revisioned automatically as necessary when changes
are made on the Edit Survey screen (as necessary ~~ a response exists
for the current revision)
2009-06-16 06:25:38 +00:00
Colin Kuskie
e8b20169fa Remove hardcoded extrasPath in the JS. 2009-06-09 16:53:00 +00:00
Colin Kuskie
2ceed12b46 Fix hardcoded extra in Shortcut query builder. 2009-06-09 16:14:51 +00:00
Patrick Donelan
cdc44a1bfb Made Survey Preview a little less brutal 2009-06-09 03:26:24 +00:00
Kaleb Murphy
e1f71f655d Moved surveyedit.css to a snippet. Pointed template url at the new snippet. 2009-06-08 19:16:56 +00:00
Kaleb Murphy
987a78fe5c Final correction on extras path error for administersurvey.js. surveyedit.css should be placed in a snippet using Extras macro. 2009-06-08 18:54:27 +00:00
Kaleb Murphy
34429aec62 Changed survey .js/css files to remove hardcoded absolute extras paths. 2009-06-08 16:58:44 +00:00
Patrick Donelan
42060bdec4 Fixed Survey edit page IE bug
Switched from document.getElementsByClassname to
YAHOO.util.DOM.getElementsByClassName
2009-06-02 01:49:17 +00:00
Patrick Donelan
d671ccbc63 Fixed Survey Slider question type so that it works when defaults
are used (max,min,step all undefined)
2009-06-02 01:48:59 +00:00
Yung Han Khoe
398f5203f4 making all Matrix datatables templatable 2009-05-30 14:43:41 +00:00
Patrick Donelan
0ad26a1921 Survey: more bug fixes
Fixed invalid calendar markup so that Date question type works in IE
Minor tweaks to ResponseJSON for more robustness
Fixed Number question type javascript
2009-05-24 09:59:43 +00:00
Patrick Donelan
3a25e806c6 Survey bug fixes
Fixed bugs in the handling of logical sections,
creating of responses and counting of responses.
Added in a bunch of new tests.
Jslinting of all survye js files
2009-05-23 09:54:03 +00:00
Yung Han Khoe
dfe87bf181 adding a 'delete item' button on Carousel edit screen 2009-05-14 13:51:56 +00:00
Yung Han Khoe
909c8f62ae Compare form on Matrix default view screen is now generated from markup 2009-05-12 14:49:41 +00:00
Patrick Donelan
4332b57ba2 Made Survey date picker more i18n-generic until we support proper i18n 2009-05-12 00:21:21 +00:00
Patrick Donelan
5d6b4093be Survey Expression Engine validation++
Survey Expression Engine now detects invalid variable names passed to value(), score(), etc..
Also now detects situations where you have jump targets/expressions defined at multiple levels - thus causing precedence rules to kick in (normally this indicates a mistake)
Fixed Survey edit page bug where TextEditor would not move after gotoExpression textarea resize caused items to move
2009-05-10 07:45:14 +00:00
Patrick Donelan
cf98c81461 Fixed Survey's handling of multi-answer questions (e.g. maxAnswers != 1)
Now stores all supplied answers to multi-answer question as arrayref
Variable [[var]] text replacement converts to comma-separated list
Expression Engine's value() returns appropriate value depending on context
Expression Engine's score() does sum of multi-answers, as you would expect
Updated related i18n & hover-help, and tests
Cleaned up survey js somewhat
2009-05-08 08:00:04 +00:00
Patrick Donelan
494efe1cf1 Added Country question type to Survey
Refactored WebGUI::Form::Country so that it can be used to return a list of countries
2009-05-06 02:38:26 +00:00
Kaleb Murphy
676b124697 Removed superfluous function wrappers on the yui event subscriptions. 2009-05-01 19:11:48 +00:00
Kaleb Murphy
70c5997872 YUI editor in the edit panel for the Survey editor now drags with the panel and hides with the panel. 2009-05-01 19:07:01 +00:00
Yung Han Khoe
1b2e327ce7 fixing an IE javascript error on Matrix compare screen 2009-04-28 18:49:20 +00:00