Commit Graph

1595 Commits

Author SHA1 Message Date
Chris Dodge
a99277275d add new files 2012-11-07 15:56:16 -05:00
Brian Talbot
3b42ea7e9e added basic settings markup and revised sections based on additional fields/info needed 2012-11-07 15:00:48 -05:00
Chris Dodge
afd8584569 remove explicit 'null' for child collection on saveName on unit code paths. I had seen cases where save was posting back an empty set on renames - deleting the components. But I can no longer reproduce it now. 2012-11-07 09:34:44 -05:00
Chris Dodge
a9c4493a70 always make the spinner spin on unit renames 2012-11-05 12:26:44 -05:00
Chris Dodge
6b45b4c741 bind the disabling/enabling of the unit name input field based on whether the page state is public or not. We shouldn't be able to edit when public. 2012-11-05 12:02:08 -05:00
Tom Giannattasio
a6d5edce5e polished grade range slider 2012-11-01 11:34:02 -04:00
Tom Giannattasio
ef4b2f044f basic settings framework – wip 2012-10-31 17:03:06 -04:00
Calen Pennington
255720abd7 Clean old javascript tests from CAS 2012-10-31 13:21:36 -04:00
Tom Giannattasio
d68945de33 started adding settings page 2012-10-30 15:04:21 -04:00
Calen Pennington
b8dcf0c40c Merge pull request #993 from MITx/bug/cas/tom/long-class-names
added handling for long class names in the header
2012-10-30 09:59:36 -07:00
Tom Giannattasio
ceb17ad411 added handling for long class names in the header 2012-10-30 12:57:47 -04:00
Tom Giannattasio
d63f82ae57 moved error message into form area; tweaked cancel behavior 2012-10-30 11:39:08 -04:00
Calen Pennington
3d9c92c574 Remove references to #visibility id that was changed to .visibility-select 2012-10-26 13:34:21 -04:00
chrisndodge
550114704e Merge pull request #974 from MITx/feature/cale/cas-dont-delete-subsection-children
Only update data in modules that have been set when passing into save_it...
2012-10-25 11:04:45 -07:00
Calen Pennington
bd1233d38c Only update data in modules that have been set when passing into save_item, and don't force callers to set everything 2012-10-25 13:56:24 -04:00
Tom Giannattasio
a0f4e67235 fixed fakepath on import 2012-10-25 12:51:21 -04:00
Calen Pennington
44bc1a06dd Merge pull request #962 from MITx/bug/cas/tom/fakepath
fixed multiple file picker bug; removed 'fakepath' from uploading file n...
2012-10-24 13:00:22 -07:00
Tom Giannattasio
b4ce13af8e more specific fakepath cut 2012-10-24 15:58:29 -04:00
Calen Pennington
9022c0d661 Merge pull request #964 from MITx/bug/cas/tom/section-name-alert
replaced section name alert with a spinner
2012-10-24 12:47:08 -07:00
Tom Giannattasio
4e3f7626be replaced section name alert with a spinner 2012-10-24 15:43:02 -04:00
Calen Pennington
171b6b56fe Fix typo 2012-10-24 15:31:00 -04:00
Tom Giannattasio
4afda98420 fixed multiple file picker bug; removed 'fakepath' from uploading file name 2012-10-24 15:22:23 -04:00
Calen Pennington
9dc6cdbda0 Remove vestigial save-subsection button 2012-10-24 15:18:03 -04:00
Calen Pennington
2dd77656cc Make all edits on unit page happen immediately, and restore the delete draft button 2012-10-24 15:00:33 -04:00
Calen Pennington
fb06344290 Allow for deletion of all components in a draft 2012-10-24 14:59:00 -04:00
Tom Giannattasio
ddf3e2e39c removed unused edit policy function 2012-10-24 14:56:30 -04:00
Tom Giannattasio
1e988c3f5e disabled policy names always and removed edit button 2012-10-24 14:46:46 -04:00
Tom Giannattasio
dee6219510 brought delete button back to drafts; save on delete component 2012-10-24 14:46:46 -04:00
Tom Giannattasio
ef5ce4e8f4 fixed policy editing workflow 2012-10-24 14:46:45 -04:00
Tom Giannattasio
b73ceb5642 show spinner more than once 2012-10-24 14:46:45 -04:00
Calen Pennington
4122d8da62 Fix path to ui icon 2012-10-23 13:40:49 -04:00
Calen Pennington
6083ba1dc3 Merge pull request #945 from MITx/feature/cas/tom/section-details
Feature/cas/tom/section details
2012-10-23 10:20:08 -07:00
Tom Giannattasio
1d40fa3360 tweaked styles for section naming 2012-10-22 16:43:45 -04:00
Tom Giannattasio
f84b603133 wrapped up section date setting; need help with already published sections 2012-10-22 16:43:44 -04:00
Tom Giannattasio
e3457fa230 started styling section date pickers 2012-10-22 16:43:44 -04:00
Chris Dodge
90a55714c2 trim section name strings to remove whitespace 2012-10-22 16:35:22 -04:00
Tom Giannattasio
fb2925a28b changed nameString variable 2012-10-22 15:55:04 -04:00
Tom Giannattasio
a8aa8770bf add background to policy item being added 2012-10-22 15:55:04 -04:00
Tom Giannattasio
2541502669 added prompt on policy delete 2012-10-22 15:55:04 -04:00
Tom Giannattasio
6d595b96fb tweaked saving mechanisms on subsection page 2012-10-22 15:55:04 -04:00
Tom Giannattasio
33e6c583bf removed toast on save component 2012-10-22 15:55:04 -04:00
Tom Giannattasio
33df317d1b added spinner to unit input name 2012-10-22 15:55:04 -04:00
Tom Giannattasio
f6d046dd04 added autosaving to field inputs on unit and subsection pages 2012-10-22 15:55:04 -04:00
Tom Giannattasio
3a612a4da6 fixed reordering of subsection and units; they now save on update without error 2012-10-22 15:55:04 -04:00
Tom Giannattasio
00f3db370d whitespace trim 2012-10-22 15:55:04 -04:00
Tom Giannattasio
7655a5adfc added toast subsection save feedback 2012-10-22 15:55:04 -04:00
Tom Giannattasio
54937e4622 added delayed save after modifying display name on unit page 2012-10-22 15:55:04 -04:00
Tom Giannattasio
c34d42d8ce properties changed to settings 2012-10-22 15:55:03 -04:00
Chris Dodge
424875848e remove cut/paste error which results in a server error. is not defined when there are no assets. Also fix up base.js to only register one set of handlers for file section which gets rid of the multiple file selection dialogs from appearing 2012-10-18 21:57:06 -04:00
Chris Dodge
d80c834095 catch when users empty out a section name. don't allow them to do that. 2012-10-18 21:27:45 -04:00