diff options
author | xue <> | 2008-01-16 22:16:54 +0000 |
---|---|---|
committer | xue <> | 2008-01-16 22:16:54 +0000 |
commit | d9d790345d807e09bf6732ea57a34be7f58292ae (patch) | |
tree | f3e07e0e6679ee6b1d02422abaf490a415037b1d | |
parent | d4ea1ed8348508b71dcbbf296a4e028f04567e1d (diff) |
fixed #776.
5 files changed, 9 insertions, 4 deletions
@@ -6,6 +6,7 @@ BUG: Ticket#736 - Files never created in clientscript.php (Qiang) BUG: Ticket#744 - Callback error handling is improved (Qiang) BUG: Ticket#750 - The "expire" parameter is used inconsistently in cache modules (Qiang) BUG: Ticket#753 - Themes not allways being set (Qiang) +BUG: Ticket#776 - Logout button should not cause validation in blog tutorial (Qiang) BUG: Fixed a bug in TPropertyValue::ensureArray() (Qiang) CHG: Changed TConditional so that the controls in its template behave like they are in its parent (Qiang) CHG: Active Record many-to-many relationship change from self::HAS_MANY to self::MANY_TO_MANY (Wei) diff --git a/demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page b/demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page index 60810807..66d7dc80 100644 --- a/demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page +++ b/demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page @@ -126,7 +126,8 @@ We modify the footer section of the <tt>MainLayout</tt>'s template as follows. T <com:TLinkButton Text="Logout"
OnClick="logoutButtonClicked"
- Visible="<%= !$this->User->IsGuest %>" />
+ Visible="<%= !$this->User->IsGuest %>"
+ CausesValidation="false" />
<br/>
<%= PRADO::poweredByPrado() %>
diff --git a/demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl b/demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl index a50f78fb..6cfe7b07 100644 --- a/demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl +++ b/demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl @@ -19,7 +19,8 @@ <com:TLinkButton Text="Logout"
OnClick="logoutButtonClicked"
- Visible="<%= !$this->User->IsGuest %>" />
+ Visible="<%= !$this->User->IsGuest %>"
+ CausesValidation="false" />
<br/>
<%= PRADO::poweredByPrado() %>
diff --git a/demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl b/demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl index cc4a34c1..3d08f9b1 100644 --- a/demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl +++ b/demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl @@ -31,7 +31,8 @@ <com:TLinkButton Text="Logout"
OnClick="logoutButtonClicked"
- Visible="<%= !$this->User->IsGuest %>" />
+ Visible="<%= !$this->User->IsGuest %>"
+ CausesValidation="false" />
<br/>
<%= PRADO::poweredByPrado() %>
diff --git a/demos/blog-tutorial/samples/day5/blog/protected/layouts/MainLayout.tpl b/demos/blog-tutorial/samples/day5/blog/protected/layouts/MainLayout.tpl index 34723f77..f679be6d 100644 --- a/demos/blog-tutorial/samples/day5/blog/protected/layouts/MainLayout.tpl +++ b/demos/blog-tutorial/samples/day5/blog/protected/layouts/MainLayout.tpl @@ -31,7 +31,8 @@ <com:TLinkButton Text="Logout" SkinID="MainMenu"
OnClick="logoutButtonClicked"
- Visible="<%= !$this->User->IsGuest %>" />
+ Visible="<%= !$this->User->IsGuest %>"
+ CausesValidation="false" />
<br/>
<%= PRADO::poweredByPrado() %>
|