1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00

window.location.search hand through for addon configuration pages

This commit is contained in:
hobbyquaker 2018-07-21 22:53:40 +02:00
parent be4a23bd06
commit cc45e7d034

View File

@ -593,7 +593,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
.attr('data-addon-config-url', addon.config_url)
.append($('<i class="setting icon">'), i18next.t('open_config'));
bconfig.click(function() {
var win = window.open(this.getAttribute('data-addon-config-url'), '_blank');
var win = window.open(this.getAttribute('data-addon-config-url') + window.location.search, '_blank');
win.focus();
});