Commit ff756d22 authored by Leo Iannacone's avatar Leo Iannacone

clean error if changing view

parent 14e274f1
...@@ -368,6 +368,7 @@ function Page_Distrubion(socket) ...@@ -368,6 +368,7 @@ function Page_Distrubion(socket)
file.clean() file.clean()
unselect() unselect()
breadcrumb.update() breadcrumb.update()
error.clean()
} }
var update = { var update = {
...@@ -400,10 +401,10 @@ function Page_Distrubion(socket) ...@@ -400,10 +401,10 @@ function Page_Distrubion(socket)
{ // new file view { // new file view
file.get() file.get()
} }
error.clean()
update.view(view) update.view(view)
}, },
view : function() { view : function() {
error.clean()
title.set() title.set()
breadcrumb.update() breadcrumb.update()
select() select()
......
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