mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
Fix #2353 js error when editor/uploader has no primary key defined
This commit is contained in:
parent
2963d0b92c
commit
24a4988151
1 changed files with 1 additions and 1 deletions
|
|
@ -475,7 +475,7 @@
|
||||||
|
|
||||||
var refreshList = function(res) {
|
var refreshList = function(res) {
|
||||||
data.uploadTargetSrl = res.upload_target_srl;
|
data.uploadTargetSrl = res.upload_target_srl;
|
||||||
if(editorRelKeys[data.editorSequence]) {
|
if (editorRelKeys[data.editorSequence] && editorRelKeys[data.editorSequence].primary) {
|
||||||
editorRelKeys[data.editorSequence].primary.value = res.upload_target_srl;
|
editorRelKeys[data.editorSequence].primary.value = res.upload_target_srl;
|
||||||
}
|
}
|
||||||
data.uploadTargetSrl = res.uploadTargetSrl;
|
data.uploadTargetSrl = res.uploadTargetSrl;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue