Hello everyone!
On Thursday, February 13, 2014 10:17:54 PM UTC+8, Vivien Nicolas wrote: > > window.close(); > Yep, that works just right for closing apps. =) On Thursday, February 13, 2014 10:32:49 PM UTC+8, [email protected] wrote: > > I don't know about closing, but the app Loqui IM has a restart button. You > may want to look into their code. > Thanks, will check it out! On Thursday, February 13, 2014 11:15:40 PM UTC+8, Alive wrote: > The only thing I know which is similar to restart is: > > |window.location.reload();| or |window.location.href="index.html";|, > > I cannot figure out the another way, if there is, please tell me :) > Hmm, invoking |window.location.href| doesn't seem to reset the app's state for me; haven't tried |window.location.reload();| yet though... Cheers everyone! Hugh _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
