more settimeout to top window
This commit is contained in:
parent
c489177206
commit
59a9ff404d
|
@ -3651,7 +3651,7 @@ function Ace2Inner(){
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
var originalBackground = parent.parent.$('#revisionlink').css("background")
|
var originalBackground = parent.parent.$('#revisionlink').css("background")
|
||||||
parent.parent.$('#revisionlink').css({"background":"lightyellow"});
|
parent.parent.$('#revisionlink').css({"background":"lightyellow"});
|
||||||
setTimeout(function(){
|
top.setTimeout(function(){
|
||||||
parent.parent.$('#revisionlink').css({"background":originalBackground});
|
parent.parent.$('#revisionlink').css({"background":originalBackground});
|
||||||
}, 500);
|
}, 500);
|
||||||
parent.parent.pad.collabClient.sendMessage({"type":"SAVE_REVISION"}); /* The parent.parent part of this is BAD and I feel bad.. It may break something */
|
parent.parent.pad.collabClient.sendMessage({"type":"SAVE_REVISION"}); /* The parent.parent part of this is BAD and I feel bad.. It may break something */
|
||||||
|
|
Loading…
Reference in New Issue