cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [02/43] git commit: updated refs/heads/master to 5ce2890
Date Thu, 25 Apr 2013 18:08:20 GMT
List view UI: Fix 'no data to show' message not appearing in some cases


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e0692b39
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e0692b39
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e0692b39

Branch: refs/heads/master
Commit: e0692b39d9409fb2913b26533790f495d17beaf4
Parents: 876e93b
Author: Brian Federle <brian.federle@citrix.com>
Authored: Tue Apr 9 14:16:01 2013 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Tue Apr 9 14:16:01 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui/widgets/listView.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e0692b39/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 4b88647..1c74056 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -863,7 +863,7 @@
     var uiCustom = listViewArgs.uiCustom;
     var subselect = uiCustom ? listViewArgs.listView.subselect : null;
 
-    if (!data || ($.isArray(data) && !data.length)) {
+    if (!data || !data.length) {
       if (!$tbody.find('tr').size()) {
         return [
           $('<tr>').addClass('empty').append(


Mime
View raw message