From ff9e92b1cc8a6769bc1df095a2cab09795518342 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Tue, 3 Jun 2025 18:31:38 +0200 Subject: [PATCH] fix duplicated code introduced with PR #7596 (#9057) --- core/modules/widgets/list.js | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/core/modules/widgets/list.js b/core/modules/widgets/list.js index f86d2d571..96ea44db1 100755 --- a/core/modules/widgets/list.js +++ b/core/modules/widgets/list.js @@ -519,36 +519,3 @@ ListJoinWidget.prototype.render = function() {} ListJoinWidget.prototype.refresh = function() { return false; } exports["list-join"] = ListJoinWidget; - -/* -Make <$list-template> and <$list-empty> widgets that do nothing -*/ -var ListTemplateWidget = function(parseTreeNode,options) { - // Main initialisation inherited from widget.js - this.initialise(parseTreeNode,options); -}; -ListTemplateWidget.prototype = new Widget(); -ListTemplateWidget.prototype.render = function() {} -ListTemplateWidget.prototype.refresh = function() { return false; } - -exports["list-template"] = ListTemplateWidget; - -var ListEmptyWidget = function(parseTreeNode,options) { - // Main initialisation inherited from widget.js - this.initialise(parseTreeNode,options); -}; -ListEmptyWidget.prototype = new Widget(); -ListEmptyWidget.prototype.render = function() {} -ListEmptyWidget.prototype.refresh = function() { return false; } - -exports["list-empty"] = ListEmptyWidget; - -var ListJoinWidget = function(parseTreeNode,options) { - // Main initialisation inherited from widget.js - this.initialise(parseTreeNode,options); -}; -ListJoinWidget.prototype = new Widget(); -ListJoinWidget.prototype.render = function() {} -ListJoinWidget.prototype.refresh = function() { return false; } - -exports["list-join"] = ListJoinWidget;