summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog-tutorial')
-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
4 files changed, 8 insertions, 4 deletions
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() %>