Auto increment now works in Firefox and Opera. Fixes #182
Auto increment now works in Firefox and Opera. Fixes #182

Firefox was not sending the _csrf cookie when the save request was
made unless the version number was included in the url string. Not
100% sure why it's a very odd behaviour but this caused the request to
fail due to an invalid CSRF validation.

The solution was to always include the revision number in the url,
and the update was made to the $code_id in the PHP app. However this
issue was introduced with changes in commit 601caf48 and may have
broken other functionality.

francoisp/jsbin,filamentgroup/jsbin,jamez14/jsbin,fgrillo21/NPA-Exam,yize/jsbin,francoisp/jsbin,late-warrior/jsbin,IvanSanchez/jsbin,arcseldon/jsbin,yohanboniface/jsbin,HeroicEric/jsbin,knpwrs/jsbin,johnmichel/jsbin,johnmichel/jsbin,Freeformers/jsbin,saikota/jsbin,svacha/jsbin,mcanthony/jsbin,simonThiele/jsbin,y3sh/jsbin-fork,dedalik/jsbin,pandoraui/jsbin,ilyes14/jsbin,mingzeke/jsbin,IveWong/jsbin,dennishu001/jsbin,knpwrs/jsbin,simonThiele/jsbin,eggheadio/jsbin,ilyes14/jsbin,digideskio/jsbin,AverageMarcus/jsbin,ctide/jsbin,Hamcha/jsbin,jamez14/jsbin,IvanSanchez/jsbin,AverageMarcus/jsbin,svacha/jsbin,kirjs/jsbin,nitaku/jervis,jwdallas/jsbin,late-warrior/jsbin,fgrillo21/NPA-Exam,dedalik/jsbin,jsbin/jsbin,jasonsanjose/jsbin-app,IveWong/jsbin,remotty/jsbin,jasonsanjose/jsbin-app,mlucool/jsbin,KenPowers/jsbin,fend-classroom/jsbin,jsbin/jsbin,martinvd/jsbin,dhval/jsbin,jwdallas/jsbin,kentcdodds/jsbin,Hamcha/jsbin,arcseldon/jsbin,mdo/jsbin,yize/jsbin,mlucool/jsbin,carolineartz/jsbin,kirjs/jsbin,martinvd/jsbin,mcanthony/jsbin,minwe/jsbin,ctide/jsbin,blesh/jsbin,dennishu001/jsbin,y3sh/jsbin-fork,juliankrispel/jsbin,filamentgroup/jsbin,minwe/jsbin,dhval/jsbin,eggheadio/jsbin,vipulnsward/jsbin,yohanboniface/jsbin,roman01la/jsbin,digideskio/jsbin,Freeformers/jsbin,pandoraui/jsbin,KenPowers/jsbin,thsunmy/jsbin,fend-classroom/jsbin,carolineartz/jsbin,vipulnsward/jsbin,roman01la/jsbin,peterblazejewicz/jsbin,knpwrs/jsbin,juliankrispel/jsbin,KenPowers/jsbin,thsunmy/jsbin,kentcdodds/jsbin,HeroicEric/jsbin,mingzeke/jsbin,saikota/jsbin,peterblazejewicz/jsbin