Skip to content

Commit

Permalink
fix in quantumuploadimage field
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriitux committed Jan 17, 2021
1 parent a93d9ba commit df6f1d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib_fields.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<authorEmail>[email protected]</authorEmail>
<copyright>Copyright (C) 2020 "JPath". All rights reserved.</copyright>
<license>GPL v3</license>
<version>1.2.2</version>
<version>1.3.1</version>
<description>Library fields.</description>

<updateservers>
Expand Down
2 changes: 1 addition & 1 deletion media/quantumuploadimage/js/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function initQuantumuploadimage(container) {
}

buttonChange.addEventListener('click', function (ev) {
let url = this.getAttribute('data-source-href') + '&fieldid=' + input.getAttribute('id');
let url = QuantumUtils.getFullUrl('/administrator/index.php?option=com_quantummanager&tmpl=component&layout=modal&namespace=quantumuploadimage') + '&fieldid=' + input.getAttribute('id');
if(input.value !== '') {
let paths = input.value.split('/');
paths.pop();
Expand Down

0 comments on commit df6f1d5

Please sign in to comment.