From e0ee2effe8d38db007b3d152dad7fa7d486246b1 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 19 Mar 2012 13:53:31 +0100 Subject: [PATCH] Make a little change to the EmptyTableHandler API Additionally, the default message type is info instead of warning. --- wcfsetup/install/files/js/WCF.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 6c124d0148..3ffa2e7290 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -3418,17 +3418,17 @@ WCF.Table.EmptyTableHandler = Class.extend({ /** * Initalizes a new WCF.Table.EmptyTableHandler object. * - * @param string rowClassName * @param jQuery tableContainer + * @param string rowClassName * @param object options */ - init: function(rowClassName, tableContainer, options) { + init: function(tableContainer, rowClassName, options) { this._rowClassName = rowClassName; this._tableContainer = tableContainer; this._options = $.extend(true, { emptyMessage: null, - messageType: 'wcf-warning', + messageType: 'wcf-info', refreshPage: false, updatePageNumber: false }, options || { }); -- 2.20.1