You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/04/25 20:08:20 UTC

[02/43] git commit: updated refs/heads/master to 5ce2890

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 <br...@citrix.com>
Authored: Tue Apr 9 14:16:01 2013 -0700
Committer: Brian Federle <br...@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(