mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Fix empty row on nm response
This commit is contained in:
parent
2bc4f2b8a4
commit
8bdf9e27f6
@ -876,7 +876,7 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
|
|||||||
|
|
||||||
if(_response.total == 0)
|
if(_response.total == 0)
|
||||||
{
|
{
|
||||||
this.self._emptyRow();
|
this.self._emptyRow(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -900,7 +900,7 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
|
|||||||
*/
|
*/
|
||||||
_emptyRow: function(_noRows)
|
_emptyRow: function(_noRows)
|
||||||
{
|
{
|
||||||
var noRows = _noRows || true;
|
var noRows = !_noRows ? false : true;
|
||||||
jQuery(".egwGridView_empty",this._grid.innerTbody).remove();
|
jQuery(".egwGridView_empty",this._grid.innerTbody).remove();
|
||||||
if(typeof this._grid._rowProvider != "undefined" && this._grid._rowProvider.getPrototype("empty"))
|
if(typeof this._grid._rowProvider != "undefined" && this._grid._rowProvider.getPrototype("empty"))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user