Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
xblock-drag-and-drop-v2
Commits
423b34c7
Commit
423b34c7
authored
Aug 11, 2014
by
dragonfi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used dash-separated-names for events
parent
d159c853
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drag_and_drop_v2/public/js/drag_and_drop.js
+2
-4
No files found.
drag_and_drop_v2/public/js/drag_and_drop.js
View file @
423b34c7
...
...
@@ -102,7 +102,7 @@ function DragAndDropBlock(runtime, element) {
target
.
removeClass
(
'within-dropzone fade'
);
var
item_id
=
target
.
data
(
"value"
);
publish_event
({
event_type
:
'xblock.drag-and-drop-v2.item.pickedup'
,
item_id
:
item_id
});
publish_event
({
event_type
:
'xblock.drag-and-drop-v2.item.picked
-
up'
,
item_id
:
item_id
});
},
stop
:
function
(
event
,
ui
)
{
...
...
@@ -251,7 +251,5 @@ function DragAndDropBlock(runtime, element) {
dragAndDrop
.
init
(
data
);
});
publish_event
({
event_type
:
"xblock.drag-and-drop-v2.loaded"
});
publish_event
({
event_type
:
"xblock.drag-and-drop-v2.loaded"
});
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment