From 3315ba892a865644ebfbd7d00d7a138a05bb76a8 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 27 Mar 2013 23:18:57 -0500 Subject: gras: move cursor for draggable charts --- python/gras/query/chart_factory.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'python/gras') 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');} + ); } /*********************************************************************** -- cgit