Add a dismiss button to welcome message.
Store user's preference indefinitely.
This commit is contained in:
committed by
Andy Armstrong
parent
72fb972288
commit
3d09290c14
@@ -1,6 +1,6 @@
|
||||
define ["js/models/uploads", "js/views/uploads", "js/models/chapter",
|
||||
define ["sinon", "js/models/uploads", "js/views/uploads", "js/models/chapter",
|
||||
"edx-ui-toolkit/js/utils/spec-helpers/ajax-helpers", "js/spec_helpers/modal_helpers"],
|
||||
(FileUpload, UploadDialog, Chapter, AjaxHelpers, modal_helpers) ->
|
||||
(sinon, FileUpload, UploadDialog, Chapter, AjaxHelpers, modal_helpers) ->
|
||||
|
||||
describe "UploadDialog", ->
|
||||
tpl = readFixtures("upload-dialog.underscore")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
define(['js/utils/drag_and_drop', 'common/js/components/views/feedback_notification',
|
||||
define(['sinon', 'js/utils/drag_and_drop', 'common/js/components/views/feedback_notification',
|
||||
'edx-ui-toolkit/js/utils/spec-helpers/ajax-helpers', 'jquery', 'underscore'],
|
||||
function(ContentDragger, Notification, AjaxHelpers, $, _) {
|
||||
function(sinon, ContentDragger, Notification, AjaxHelpers, $, _) {
|
||||
'use strict';
|
||||
describe('Overview drag and drop functionality', function() {
|
||||
beforeEach(function() {
|
||||
setFixtures(readFixtures('mock/mock-outline.underscore'));
|
||||
|
||||
Reference in New Issue
Block a user