Commit graph

33 commits

Author SHA1 Message Date
Patrick Donelan
31dec565b7 Refactored JS to use module pattern for proper encapsulation
Extensive jslinting to improve cross-browser support
Added some debugging statements
Fixed redirection to exitUrl when survey complete
Added www_deleteResponses
Added security restrictions on www_ methods
2008-11-25 06:33:55 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
Patrick Donelan
cf96ad484a Added missing groupToEditSurvey Survey table field to upgrade script
Reduced YUI footprint (load -min and combined js/css files where possible)
Updated surveyQuestion template and associated js/css to not use divs with ids that clash with wg page header and footer
2008-11-21 06:23:28 +00:00
Graham Knop
48b4ba1fc8 adding survey back in 2008-11-12 03:24:49 +00:00
Graham Knop
151e705286 Backing out Survey for now 2008-11-12 02:40:27 +00:00
Kaleb Murphy
1dd08e25c9 The new survey is here. Make sure to wg-reset your test instances to get the new DB schema. 2008-11-06 20:48:18 +00:00
Kaleb Murphy
edd6eb4c38 preparing for merge 2008-11-06 20:18:12 +00:00
Kaleb Murphy
a907495f0b administersurvey.js small updates merged 2008-10-27 13:50:52 +00:00
Kaleb Murphy
5afae6de85 You can now copy sections and questions. And if I correctly understand how to bundle asset packages, all the new template changes are included. 2008-10-20 16:17:25 +00:00
Patrick Donelan
a4afde5786 Changed console.log() calls to YAHOO.log() 2008-10-16 02:52:22 +00:00
Kaleb Murphy
c2fc74ae85 Need to finish the template packages, reports, fix up a small branching issue, copying, and an upgrade path. 2008-10-14 03:07:53 +00:00
Kaleb Murphy
2de1d83d65 Editor is done except for prettifying it, but you can now build a survey with the new data layer 2008-09-30 19:25:38 +00:00
Kaleb Murphy
c812705537 Editor is 98% finished. (still wrapping up final bits on drag and drop) 2008-09-29 17:55:21 +00:00
Kaleb Murphy
92c87ca9b8 added object.js 2008-09-26 02:06:41 +00:00
Kaleb Murphy
5174824b5f Finishing up editor 2008-09-26 02:06:21 +00:00
Kaleb Murphy
38c7ee33c4 Moving edit screens to be template based for i18n (almost done with editor. 2008-09-25 02:09:22 +00:00
Kaleb Murphy
c4f939f306 Hah, it ah, doesnt throw errors upon modperl start and ah, the editor, ah, kind of works, and err. ah, the JSON is 99% working, with objects instantiating themselves correctly then serializing themselves as appropriate. Definitely not a working version though. 2008-09-24 01:30:57 +00:00
Kaleb Murphy
6832eacc7c Whups, windows.scrollTo on wrong line. 2008-05-21 16:34:56 +00:00
Kaleb Murphy
d7f38c4e37 Removed auto-submit on 1 MC question per page. Added scroll to top of page on submit. 2008-05-21 15:58:25 +00:00
Kaleb Murphy
355decc7c3 Added warning message on required slider allocates for how much left is required. Also removed slider animation as there appears to be a motion bug where the bug can slide further than asked for. 2008-05-16 21:42:52 +00:00
Kaleb Murphy
ec8d1de4f8 Slider write ins now more accurate 2008-05-14 19:16:14 +00:00
Kaleb Murphy
9bad426c49 Added 500ms delay during 1 button page clicks. 2008-05-12 13:58:52 +00:00
Kaleb Murphy
e3bef2b5d7 IE problems apparently resolved, and slider and multi-slider allocate accuracy made bullet-proof. 2008-05-08 20:06:13 +00:00
Kaleb Murphy
d6cfcd4381 Added IE7 compat in administersurvey.js for class changes. 2008-05-08 14:21:03 +00:00
Kaleb Murphy
77fc16d97f Major updates to spec 2008-05-06 14:56:29 +00:00
Kaleb Murphy
bb891242a4 Last checkin before major changes to buttons 2008-04-30 14:13:49 +00:00
Kaleb Murphy
93bbf128ca minor bug fixes 2008-04-25 19:52:11 +00:00
Kaleb Murphy
1f8d1b3899 Allowed text box sizes to be set, fixed hidden sliders breaking, random text in question text bug fixed, single question button continue working, randomized weirdness on section random question resolved, answer text on multi-slider questions resolved, can have generic scale questions now, removed useless 'previous Text Answer Fill' dialog 2008-04-24 21:01:08 +00:00
Kaleb Murphy
d5416689e9 4 scales moved back to MC 2008-04-23 18:10:51 +00:00
Kaleb Murphy
ffc316e2a0 Adding multiple choice subclass of scale type questions, only difference is answer text location (above button). 2008-04-23 16:59:23 +00:00
Kaleb Murphy
9ce9618bf9 added many new features 2008-04-22 01:25:56 +00:00
Kaleb Murphy
94b73f3c73 Deleting old junk files 2008-04-19 19:04:30 +00:00
Kaleb Murphy
4e05a51f15 Importing JS 2008-04-19 18:55:56 +00:00