cahrens
50128cfb5c
Convert edit_subsection, edit_unit, and publishing to RESTful URLs.
...
STUD-844
2013-11-25 13:55:33 -05:00
cahrens
1b2be30c45
Convert tabs to RESTful URL.
...
STUD-850
2013-11-21 10:19:43 -05:00
cahrens
e7c06e3ab1
Change preview view method to use RESTful URL.
...
STUD-848
2013-11-19 16:56:24 -05:00
cahrens
a170c6f4e7
Change save_item and create_item to RESTful URL.
...
Part of STUD-847.
2013-11-14 11:03:31 -05:00
Christina Roberts
cd868efc22
Merge pull request #1580 from edx/christina/item
...
Change delete_item to RESTful URL.
2013-11-06 10:50:56 -08:00
cahrens
16766a5ee9
Change delete_item to RESTful URL.
...
Part of STUD-847.
2013-11-06 13:49:24 -05:00
David Baumgold
b119a90996
Do JS setup immediately when possible
2013-11-04 12:40:14 -05:00
Don Mitchell
45453fae61
Change expect_json to put parsed json in new attr
2013-10-29 16:13:58 -04:00
Christina Roberts
b00d59edf1
Merge pull request #1354 from edx/christina/overview-modal
...
Pull modal cover and date utils into their own files.
2013-10-24 11:32:35 -07:00
cahrens
52f4f6afbc
Pull modal cover and date utils into their own files.
...
Move overview-specific functions into overview.js.
2013-10-23 15:44:58 -04:00
Anton Stupak
aecc20af6b
Add Timed Transcripts Editor.
2013-10-22 21:45:03 +03:00
Calen Pennington
12cc4a19c0
Merge pull request #1224 from cpennington/lms-xblock-js-execution
...
Add an XBlock javascript runtime, and use it to run XModules
2013-10-21 05:53:36 -07:00
Calen Pennington
ce6fbae693
Add an XBlock javascript runtime, and use it to run XModules
...
[LMS-57]
2013-10-18 16:31:32 -04:00
David Baumgold
76e6f8bc0d
Fix up Tender load order
...
So that tender_widget.js loads after we've defined window.Tender
2013-10-16 17:25:58 -04:00
cahrens
37dcfd7bdd
Remove commented out code.
2013-10-15 12:52:58 -04:00
David Baumgold
fb01d8fa81
Fixes to avoid CSRF error in acceptance tests
2013-10-11 17:11:59 -04:00
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
David Baumgold
fd8b375f3a
Translated …
2013-09-06 09:17:19 -04:00
Peter Fogg
75b76b37ef
Add delete confirmation to static pages.
...
We used to use a regular JS `confirm`; this makes the UI consistent
with the rest of Studio.
2013-08-22 16:41:07 -04:00
Peter Fogg
cde8ee50d7
Fix jumping to the top of the page on unit delete.
2013-08-09 15:18:08 -04:00
Peter Fogg
8bd686d63c
Show notification on component reorder.
2013-08-01 11:56:16 -04:00
Brian Talbot
ec02a4f39f
Studio: changed the copy and prompt type for unit + outline deletions
2013-07-22 11:37:09 -04:00
Peter Fogg
5029f460ec
Use Backbone notifications for component delete.
2013-07-22 11:37:08 -04:00
Don Mitchell
3722685e1a
No longer persist XModule templates
...
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
David Baumgold
404c36b8f4
PDF textbooks: namespace JS variables for URLs
2013-07-09 19:16:07 -04:00
David Baumgold
e0eec89e09
Truncate AJAX error messages in notification
2013-07-09 19:15:59 -04:00
David Baumgold
ace8914a53
Set up Backbone models/views to construct logic of adding textbooks/chapters
2013-07-09 19:15:58 -04:00
David Baumgold
7824b8c8f2
Fix coffeescript issue on Linux
...
On Linux, coffeescript refuses to compile unless the `catch` keyword has an error
variable to bind to. On Mac, it works just fine either way. Go figure.
2013-07-01 15:09:41 -04:00
David Baumgold
1fee805c9a
Adjust indentation to make coffeescript happy
2013-07-01 15:09:41 -04:00
David Baumgold
8bfcbb6675
Make notifyOnError handler try to parse response as JSON
2013-07-01 15:09:41 -04:00
David Baumgold
fb0d16afe2
Only show at most 300 chars in AJAX error notification
2013-06-18 10:23:44 -04:00
David Baumgold
b6e3b0ee03
Refactor Backbone Notifications
...
Models are extraneous for something as temporary as a notifaction -- this change
moves all the configuration into the views, and removes the models entirely.
2013-06-18 10:20:31 -04:00
cahrens
21dc4d863e
Put back in some older code to save source_code property.
2013-06-14 14:10:40 -04:00
Peter Fogg
8a67454f98
Prevent creation of unnecessary template divs, and rename .single_templates to .single-templates for convention.
2013-06-03 15:36:55 -04:00
Peter Fogg
ff0c56b7fb
Cleaning up code -- removed unnecessary lines, fixed indentation, renamed method.
2013-06-03 14:21:50 -04:00
Peter Fogg
cce65ce9ae
Merge branch 'master' of github.com:edx/edx-platform into peter-fogg/single-click-video-creation
2013-06-03 09:15:52 -04:00
Peter Fogg
68581610a4
Allow single-click creation of course components that only have one template.
2013-05-31 16:22:51 -04:00
cahrens
a82daf0710
Change to Backbone collection.
2013-05-31 15:59:53 -04:00
Peter Fogg
56ed47b37f
Allow single-click video creation.
2013-05-31 12:52:53 -04:00
cahrens
f0260757c5
Cleanup.
2013-05-29 16:50:22 -04:00
cahrens
625c6b518c
Cleanup, change how we load templates.
2013-05-28 14:07:35 -04:00
cahrens
c95b44d851
Merge branch 'master' into feature/christina/metadata-ui
...
Conflicts:
cms/envs/common.py
cms/templates/base.html
common/lib/xmodule/xmodule/combined_open_ended_module.py
2013-05-23 11:41:12 -04:00
David Baumgold
0a7222b123
Allow an AJAX call to specify that it should not notify on error
...
Because there are some cases where it's OK to fail, and it's not the user's fault
2013-05-22 15:55:56 -04:00
David Baumgold
dc2acb18ee
Moved global AJAX Error handler definition to main.coffee
2013-05-22 15:55:55 -04:00
cahrens
3229aaf503
Call polyfill at right time.
2013-05-20 11:16:20 -04:00
marco
aa41aed9d1
prototype for polyfill on number input fields, minimal styling to up down buttons
2013-05-20 09:45:33 -04:00
cahrens
b16e17a250
Some i18n work and other minor cleanup.
2013-05-17 14:57:25 -04:00
cahrens
01ff8396e3
Fix CodeMirror initialization problem.
2013-05-16 12:34:39 -04:00
marco
bbb6a3c60d
resolved metadata-edit conflict, adding in latex item into settings
2013-05-15 16:27:04 -04:00
marco
12dae84a07
commented out firefox polyfill ad well as xmodule css editor changes
2013-05-15 16:07:45 -04:00