Closed Zubair-Iftikhar closed 3 years ago
for standalone window size too small & below the theme... i'm using Adminlte 3 HTML
<div class="form-group"> <label for="feature_image">Feature Image</label> <input type="text" id="feature_image" name="feature_image" value=""> <a href="" class="popup_selector" data-inputid="feature_image">Select Image</a> </div>
standalonepopup.min.js
$(document).on('click','.popup_selector',function (event) { event.preventDefault(); var updateID = $(this).attr('data-inputid'); // Btn id clicked var elfinderUrl = '/elfinder/popup/'; // trigger the reveal modal with elfinder inside var triggerUrl = elfinderUrl + updateID; $.colorbox({ href: triggerUrl, fastIframe: true, iframe: true, width: '70%', height: '50%' }); }); // function to update the file selected by elfinder function processSelectedFile(filePath, requestingField) { $('#' + requestingField).val(filePath).trigger('change'); }
issue solve colorbox css file issue
for standalone window size too small & below the theme... i'm using Adminlte 3 HTML
standalonepopup.min.js