0001-misc-add-possibility-to-mark-popup-links-with-data-p.patch
wcs/qommon/static/js/popup.js | ||
---|---|---|
44 | 44 |
} |
45 | 45 | |
46 | 46 |
$(function() { |
47 |
$('a[rel=popup]').click(displayPopup); |
|
47 |
$('a[rel=popup], a[data-popup]').click(displayPopup);
|
|
48 | 48 |
$(document).on('wcs:dialog-loaded', function(e, dialog) { |
49 | 49 |
if ($(dialog).find('input[name$=add_element]').length) { |
50 | 50 |
prepare_widget_list_elements(); |
51 |
- |