From 9db6e012559ae7bdb46a9519c360bb936173f200 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 5 Sep 2007 01:43:17 +0000 Subject: typos in blog tutorial. fixed empty result in active record relations. fixed keeping of post data in scaffold edit view when using renderer. --- demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page | 2 +- demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/blog-tutorial/protected') diff --git a/demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page b/demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page index d9b66d33..2b21023d 100644 --- a/demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page +++ b/demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page @@ -23,7 +23,7 @@ The ReadPost page template is very similar to the PostRenderer <com:TControl Visible="<%= $this->canEdit() %>"> - Edit | + Edit | <com:TLinkButton Text="Delete" OnClick="deletePost" Attributes.onclick="javascript:if(!confirm('Are you sure?')) return false;" /> diff --git a/demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page b/demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page index 83c059e7..9aeaed7b 100644 --- a/demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page +++ b/demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page @@ -23,7 +23,7 @@ Template halaman ReadPost sangat mirip dengan template PostRenderer <com:TControl Visible="<%= $this->canEdit() %>"> - Edit | + Edit | <com:TLinkButton Text="Delete" OnClick="deletePost" Attributes.onclick="javascript:if(!confirm('Are you sure?')) return false;" /> -- cgit v1.2.3