mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
read categories and keywords from drag and drop area
This commit is contained in:
parent
2fa2d33fe9
commit
a7212a0708
|
@ -822,9 +822,13 @@ function onAddClipboard(ev) { /* {{{ */
|
|||
if (typeof obj.data('comment') !== 'undefined') {
|
||||
fd.append('comment', obj.data('comment'));
|
||||
}
|
||||
if (typeof obj.data('keywords') !== 'undefined') {
|
||||
fd.append('keywords', obj.data('keywords'));
|
||||
}
|
||||
fd.append('userfile', files[i]);
|
||||
fd.append('command', 'uploaddocument');
|
||||
this.getFormData(fd, obj.data('attributes'), 'attributes');
|
||||
this.getFormData(fd, obj.data('categories'), 'categories');
|
||||
// fd.append('path', files[i].webkitRelativePath);
|
||||
|
||||
statusbar.parent().show();
|
||||
|
|
|
@ -853,9 +853,13 @@ function onAddClipboard(ev) { /* {{{ */
|
|||
if (typeof obj.data('comment') !== 'undefined') {
|
||||
fd.append('comment', obj.data('comment'));
|
||||
}
|
||||
if (typeof obj.data('keywords') !== 'undefined') {
|
||||
fd.append('keywords', obj.data('keywords'));
|
||||
}
|
||||
fd.append('userfile', files[i]);
|
||||
fd.append('command', 'uploaddocument');
|
||||
this.getFormData(fd, obj.data('attributes'), 'attributes');
|
||||
this.getFormData(fd, obj.data('categories'), 'categories');
|
||||
// fd.append('path', files[i].webkitRelativePath);
|
||||
|
||||
statusbar.parent().show();
|
||||
|
|
Loading…
Reference in New Issue
Block a user