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 !
Live preview implemented.  Needs filtered column integrated and also we 
need to integrate auto-save previews if we are going that route

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@744 
567b1171-46fb-0310-a4c9-b4bef9110e78
caged (author)
Fri Feb 10 17:55:56 -0800 2006
commit  a0ae4a634ea4be6c14528ca047d591574db376fe
tree    8457dcd5b3af159f8e105cf1e8646529b95afe65
parent  7f1338ce004ab010f82582d5060e63bea6e766bb
...
39
40
41
 
 
 
 
 
 
42
43
44
...
39
40
41
42
43
44
45
46
47
48
49
50
0
@@ -39,6 +39,12 @@ class Admin::ArticlesController < Admin::BaseController
0
       render :action => 'edit'
0
     end
0
   end
0
+
0
+ def live_preview
0
+ @article = Article.new
0
+ @article.attributes = params[:article]
0
+ end
0
+
0
 
0
   protected
0
   def load_categories!
...
6
7
8
 
9
10
11
...
6
7
8
9
10
11
12
0
@@ -6,6 +6,7 @@
0
     <title>Mephisto: <%= controller.controller_name %> Admin</title>
0
     <%= stylesheet_link_tag 'mephisto' %>
0
     <%= javascript_include_tag :defaults %>
0
+ <%= javascript_include_tag 'logger', 'mephisto' %>
0
   </head>
0
   <body>
0
   

Comments

    No one has commented yet.