Created
July 23, 2009 13:29
-
-
Save satyr/152915 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var flag; | |
function reset(){ flag = 'off' } | |
function ubiquityLoad_resetFlag(U){ | |
U.msgPanel.addEventListener('popuphidden', reset, false); | |
} | |
CmdUtils.CreateCommand({ | |
name: 'test flag reset', | |
argument: noun_arb_text, | |
preview: function pv(pb){ | |
pb.innerHTML = flag; | |
flag = 'on'; | |
}, | |
}); | |
reset(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment