public
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/halorgium/mephisto.git
Search Repo:
fix up revision dropdown to use restful routes [Mark McSpadden]
technoweenie (author)
Sun Feb 03 11:10:51 -0800 2008
commit  cdc1caa107641e121b5810dc0988e5c4dfb91152
tree    f6e24381c5b88e93734aef2954e4fcec89c48fa8
parent  ca8a7879ef2a7da78c011ab8c27004968d58dc54
...
323
324
325
326
 
327
328
329
...
323
324
325
 
326
327
328
329
0
@@ -323,7 +323,7 @@
0
 
0
   getRevision: function() {
0
     var rev = $F(this)
0
- var url = Mephisto.root + '/admin/articles/' + location.href.match(/\/edit\/([0-9]+)/)[1] + "/edit";
0
+ var url = Mephisto.root + '/admin/articles/' + location.href.match(/\/([0-9]+)\/edit/)[1] + "/edit";
0
     if(rev != '0') url += "?version=" + rev;
0
     location.href = url;
0
   }

Comments

    No one has commented yet.