summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page3
-rw-r--r--demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl3
-rw-r--r--demos/blog-tutorial/samples/day4/blog/protected/layouts/MainLayout.tpl3
-rw-r--r--demos/blog-tutorial/samples/day5/blog/protected/layouts/MainLayout.tpl3
5 files changed, 9 insertions, 4 deletions
diff --git a/HISTORY b/HISTORY
index ad40ec58..c8b57a6a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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
&lt;com:TLinkButton Text="Logout"
OnClick="logoutButtonClicked"
- Visible="&lt;%= !$this->User->IsGuest %>" />
+ Visible="&lt;%= !$this->User->IsGuest %>"
+ CausesValidation="false" />
<br/>
&lt;%= 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() %>