Skip to content

Commit

Permalink
add get variable view
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriitux committed Jan 26, 2024
1 parent 35e7f16 commit c81bd1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Field/QuantumUploadImage/media/js/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ window.QuantumuploadimageInsertFieldValue = function (value, fieldid) {

window.QuantumuploadimageModalOpen = function () {
let input = quantumuploadimageSelector.querySelector('input');
let url = QuantumUtils.getFullUrl('index.php?option=com_quantummanager&tmpl=component&layout=modal&namespace=quantumuploadimage') + '&fieldid=' + input.getAttribute('id');
let url = QuantumUtils.getFullUrl('index.php?option=com_quantummanager&view=quantummanager&tmpl=component&layout=modal&namespace=quantumuploadimage') + '&fieldid=' + input.getAttribute('id');

if (input.value !== '') {
let paths = input.value.split('/');
Expand Down

0 comments on commit c81bd1c

Please sign in to comment.