0001-misc-fix-display-of-live-errors-on-post-conditions-w.patch
wcs/qommon/static/js/qommon.admin.js | ||
---|---|---|
87 | 87 |
$('div[data-validation-url]').each(function(idx, elem) { |
88 | 88 |
var $widget = $(this); |
89 | 89 |
var widget_name = $widget.find('select').attr('name'); |
90 |
var prefix = widget_name.replace(/\$[a-z]*/, '') + '$';
|
|
90 |
var prefix = widget_name.substr(0, widget_name.lastIndexOf('$')) + '$';
|
|
91 | 91 |
$(this).find('input, select').on('change focus keyup blur', function(e) { |
92 | 92 |
var timeout_duration = 250; |
93 | 93 |
if (e.type == 'blur') { |
94 |
- |