From: Matthias Schmidt Date: Mon, 19 Mar 2012 12:53:31 +0000 (+0100) Subject: Make a little change to the EmptyTableHandler API X-Git-Tag: 2.0.0_Beta_1~1201^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e0ee2effe8d38db007b3d152dad7fa7d486246b1;p=GitHub%2FWoltLab%2FWCF.git Make a little change to the EmptyTableHandler API Additionally, the default message type is info instead of warning. --- 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 || { });