Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
04680880
Commit
04680880
authored
Jun 04, 2018
by
bbaer
Browse files
used elementupdate in response if data is available
parent
d2ef62e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/DragAndDrop.js
View file @
04680880
...
...
@@ -151,7 +151,6 @@ var QfqNS = QfqNS || {};
if
(
dzSelector
)
{
this
.
setDropZones
(
$
(
"
.
"
+
dzSelector
));
}
};
n
.
DragAndDrop
.
prototype
.
_dropHandler
=
function
(
event
)
{
...
...
@@ -256,7 +255,14 @@ var QfqNS = QfqNS || {};
console
.
error
(
data
.
message
);
}
else
{
console
.
log
(
"
status:
"
+
data
.
status
+
"
message:
"
+
data
.
message
);
if
(
data
.
elementUpdate
)
{
if
(
!
this
.
elementUpdate
)
{
this
.
elementUpdate
=
new
n
.
ElementUpdate
();
}
this
.
elementUpdate
.
updateAll
(
data
.
elementUpdate
);
}
}
};
})(
QfqNS
);
\ No newline at end of file
Write
Preview
Supports
Markdown
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