0001-backoffice-fix-detection-of-add-element-button-44686.patch
wcs/qommon/static/js/popup.js | ||
---|---|---|
51 | 51 |
$(function() { |
52 | 52 |
$('a[rel=popup], a[data-popup]').click(displayPopup); |
53 | 53 |
$(document).on('wcs:dialog-loaded', function(e, dialog) { |
54 |
if ($(dialog).find('input[name$=add_element]').length) {
|
|
54 |
if ($(dialog).find('[name$=add_element]').length) { |
|
55 | 55 |
prepare_widget_list_elements(); |
56 | 56 |
} |
57 | 57 |
if (jQuery.fn.colourPicker !== undefined) { |
58 |
- |