Skip to content

Commit 469a1ae

Browse files
committed
Issue #5915: Got rid of now obsolete code meddling with the labels.
1 parent 5dd27b4 commit 469a1ae

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

var/httpd/htdocs/js/Core.Agent.DynamicFieldDBSearch.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -152,19 +152,6 @@ Core.Agent.DynamicFieldDBSearch = (function(TargetNS) {
152152
$('.WidgetSimple.Collapsed .WidgetAction.Toggle').on('click', function () {
153153
InitDynamicFields(this);
154154
});
155-
156-
// change the position of the label for DB fields
157-
if ( Core.Config.Get('SessionName') === Core.Config.Get('CustomerPanelSessionName') ) {
158-
$('fieldset > .Row > .FieldCell').each( function() {
159-
var $DBField = $('.Field > input.DynamicFieldDB', $(this)).first();
160-
161-
if ( $DBField.length ) {
162-
// set the label in front of the results box
163-
$('label', $(this)).insertBefore( $('.Field > .Field', $(this)) );
164-
}
165-
});
166-
}
167-
168155
};
169156

170157
/**

0 commit comments

Comments
 (0)