Skip to content

Commit

Permalink
MINOR Make tree loading indicator visible on page icon to ensure it s…
Browse files Browse the repository at this point in the history
…hows when drag handles are hidden (in "sidebar view") (fixes #7256)
  • Loading branch information
chillu committed Jun 3, 2012
1 parent 8e89396 commit a757c16
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/css/screen.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added admin/images/throbber.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions admin/scss/_tree.scss
Expand Up @@ -628,4 +628,13 @@ li.class-ErrorPage > a .jstree-pageicon {
} }
} }
} }

// Show the loading indicator on the page icon rather than the default
// jstree icon (which is only used for its dragging handles)
a.jstree-loading .jstree-icon {
background-image: none !important;
}
a.jstree-loading .jstree-pageicon {
background: url(../images/throbber.gif) top left no-repeat;
}
} }

0 comments on commit a757c16

Please sign in to comment.