On 07/18/2011 11:09 AM, Tomas Hrcka wrote:
---
src/app/stylesheets/custom.scss | 6 ++++++
src/public/javascripts/application.js | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/app/stylesheets/custom.scss b/src/app/stylesheets/custom.scss
index d6dab6a..6f9de87 100644
--- a/src/app/stylesheets/custom.scss
+++ b/src/app/stylesheets/custom.scss
@@ -67,3 +67,9 @@ footer.standard{
#deployable-xml-link {
color: #666;
}
+
+.loading_tabs {
+ height: 30px;
+ display:block;
+ background: url(../../images/loading.gif) no-repeat center;
+}
\ No newline at end of file
diff --git a/src/public/javascripts/application.js
b/src/public/javascripts/application.js
index f0dd78d..e2ee43a 100644
--- a/src/public/javascripts/application.js
+++ b/src/public/javascripts/application.js
@@ -65,6 +65,7 @@ var Conductor = {
e.preventDefault();
var url = $(this).attr('href');
+ $('#tab').html('<span
class="loading_tabs"></span>');
$.get(url, function(data) {
$('#tab').html(data)
.show();
Please rebase it against next, it cannot be pushed right now.