Skip to content

Commit

Permalink
Fix popup window name to element id transform
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Dec 20, 2022
1 parent 62551a1 commit 26e4895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filer/static/filer/js/addons/popup_handling.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (django.jQuery) {
function windowname_to_id(text) {
text = text.replace(/__dot__/g, '.');
text = text.replace(/__dash__/g, '-');
return text;
return text.split('__')[0];
}

window.dismissPopupAndReload = function (win) {
Expand Down

0 comments on commit 26e4895

Please sign in to comment.