Hide design/full setup items from the properties panel for shortcuts

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12393 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2012-12-13 09:43:22 +00:00
parent c3d1e2874f
commit 3fd3ca593b
3 changed files with 18 additions and 7 deletions

View file

@ -358,6 +358,11 @@ $.exec_json = function(action,data,func){
if(typeof(data) == 'undefined') data = {};
action = action.split(".");
if(action.length == 2){
// The cover can be disturbing if it consistently blinks (because ajax call usually takes very short time). So make it invisible for the 1st 0.5 sec and then make it visible.
$(".wfsr").css('opacity', 0.0);
setTimeout(function(){
$(".wfsr").css('opacity', '');
}, 500);
if(show_waiting_message) $(".wfsr").html(waiting_message).show();
$.extend(data,{module:action[0],act:action[1]});