We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6cf1ff3 + 1d66ec3 commit 5c86283Copy full SHA for 5c86283
public/js/lfm.js
@@ -9,12 +9,9 @@
9
type = 'Files';
10
}
11
12
- var input_id = this.data('input');
13
- var preview_id = this.data('preview');
14
-
15
this.on('click', function(e) {
16
- localStorage.setItem('target_input', input_id);
17
- localStorage.setItem('target_preview', preview_id);
+ localStorage.setItem('target_input', $(this).data('input'));
+ localStorage.setItem('target_preview', $(this).data('preview'));
18
window.open('/laravel-filemanager?type=' + type, 'FileManager', 'width=900,height=600');
19
return false;
20
});
0 commit comments