app/views/top.rhtml in Pimki-1.3.092 vs app/views/top.rhtml in Pimki-1.4.092
- old
+ new
@@ -29,12 +29,17 @@
<style type="text/css">
<%= @style_additions %>
<%= @web ? web.additional_style : "" %>
</style>
</head>
-<body>
-<%= sub_template "menu" unless @hide_navigation%>
+<% if @web && @page && @web.enable_dclick_edit %>
+ <body ondblclick="location.href='../edit/<%= @page.name %>'">
+<% else %>
+ <body>
+<% end %>
+
+<%= sub_template "menu" unless @hide_navigation %>
<div id="Container">
<div id="Content">
<h1 id="pageName">
\ No newline at end of file