Merge branch 'release' from 2014-08-12 release.
This commit is contained in:
@@ -148,7 +148,8 @@ class InheritanceMixin(XBlockMixin):
|
||||
scope=Scope.settings
|
||||
)
|
||||
video_speed_optimizations = Boolean(
|
||||
help="Enable Video CDN.",
|
||||
display_name=_("Enable video caching system"),
|
||||
help=_("Enter true or false. If true, video caching will be used for HTML5 videos."),
|
||||
default=True,
|
||||
scope=Scope.settings
|
||||
)
|
||||
|
||||
@@ -76,8 +76,9 @@ Annotator.Plugin.Flagging = (function(_super) {
|
||||
*/
|
||||
Flagging.prototype.updateField = function(field, annotation) {
|
||||
|
||||
// figure out whether annotation is of image or not
|
||||
var user_email = annotation.media === "image" ?
|
||||
// figure out whether annotation is of type image or if ova is not defined (meaning it
|
||||
// it doesn't have a type yet, but it is still an image).
|
||||
var user_email = (annotation.media === "image" || typeof ova === 'undefined') ?
|
||||
osda.options.optionsAnnotator.permissions.user.id:
|
||||
ova.options.optionsAnnotator.permissions.user.id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user