Skip to content

Commit

Permalink
file, media ID 잘못 처리하는 문제 고침
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Nov 13, 2019
1 parent 106ea51 commit 6132ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/media_library.widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ window.$(function ($) {
},
title: payload.title || payload.clientname,
imageUrl: XE._.get(payload, 'file.url', payload.url),
mediaId: (payload.fileId) ? XE._.get(payload, 'id', '') : '',
fileId: XE._.get(payload, 'fileId', payload.id || ''),
mediaId: (payload.file_id) ? XE._.get(payload, 'id', '') : '',
fileId: XE._.get(payload, 'file_id', payload.id || ''),
size: payload.size
}
},
Expand Down

0 comments on commit 6132ac9

Please sign in to comment.