public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
fix up revision dropdown to use restful routes [Mark McSpadden]
technoweenie (author)
Sun Feb 03 10:09:52 -0800 2008
commit  aa2a339404fa179b7250930e471554dd32e0a528
tree    3ab86214725cebf396d1278023b7ae2f0d9a7910
parent  08e831d1c9bf302524559c0cb019e9cd5ad0c33b
...
324
325
326
327
 
328
329
330
...
324
325
326
 
327
328
329
330
0
@@ -324,7 +324,7 @@ var ArticleForm = {
0
   getRevision: function() {
0
     var rev = $F(this)
0
     var url = Mephisto.root + '/admin/articles/' + location.href.match(/\/edit\/([0-9]+)/)[1] + "/edit";
0
- if(rev != '0') url += "/" + rev;
0
+ if(rev != '0') url += "?version=" + rev;
0
     location.href = url;
0
   }
0
 }

Comments

    No one has commented yet.