Commit a82091ed authored by Marc Duez's avatar Marc Duez

server : disable back button for first page

parent cea7795a
......@@ -129,6 +129,7 @@ Database.prototype = {
//
this.fixed_header()
}
if (this.url.length == 1) $("#db_back").addClass("inactive");
},
/* associe a un <form> un handler custom
......@@ -290,8 +291,8 @@ Database.prototype = {
this.url.pop()
url = this.url[this.url.length-1]
this.callUrl(url)
this.url.pop()
}
this.url.pop()
},
......
......@@ -29,8 +29,8 @@
<div class="db_footer">
<div class="db_block_left">
<span class="button" onclick="db.back();"> << back</span>
<span class="button" onclick="db.reload();">reload</span>
<span id="db_back" class="button" onclick="db.back();"> << back</span>
<span id="db_reload" class="button" onclick="db.reload();">reload</span>
</div>
<div class="db_block_right">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment