summaryrefslogtreecommitdiff
path: root/python/gras
diff options
context:
space:
mode:
authorJosh Blum2013-03-27 23:18:57 -0500
committerJosh Blum2013-03-27 23:18:57 -0500
commit3315ba892a865644ebfbd7d00d7a138a05bb76a8 (patch)
treec8311431bcd02f2c173da5414e773092433e66a8 /python/gras
parent2a51862b553b0278f3dd507117725fbf2ea85fd5 (diff)
downloadsandhi-3315ba892a865644ebfbd7d00d7a138a05bb76a8.tar.gz
sandhi-3315ba892a865644ebfbd7d00d7a138a05bb76a8.tar.bz2
sandhi-3315ba892a865644ebfbd7d00d7a138a05bb76a8.zip
gras: move cursor for draggable charts
Diffstat (limited to 'python/gras')
-rw-r--r--python/gras/query/chart_factory.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/python/gras/query/chart_factory.js b/python/gras/query/chart_factory.js
index 210ee18..5b3239a 100644
--- a/python/gras/query/chart_factory.js
+++ b/python/gras/query/chart_factory.js
@@ -194,7 +194,13 @@ function gras_chart_factory_make(registry, args)
chart_box.draggable({stop: handle_stop, create: function(event, ui)
{
if ('position' in args) chart_box.offset(args.position);
- }});
+ }, cursor: "move"});
+
+ //set the cursor on the title bar so its obvious
+ tr_title.hover(
+ function(){$(this).css('cursor','move');},
+ function(){$(this).css('cursor','auto');}
+ );
}
/***********************************************************************