Commit bdb463e0 authored by Marc Duez's avatar Marc Duez
Browse files

database.js : debug reload() (if anything have been loaded previously)

parent 436ab1df
...@@ -262,9 +262,13 @@ Database.prototype = { ...@@ -262,9 +262,13 @@ Database.prototype = {
/*reload the current db page*/ /*reload the current db page*/
reload: function(){ reload: function(){
url = this.url[this.url.length-1] if (this.url.length==0){
this.callUrl(url) this.call('patient/index')
this.url.pop() }else{
url = this.url[this.url.length-1]
this.callUrl(url)
this.url.pop()
}
}, },
back: function(){ back: function(){
......
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