Commit 4175ae75 authored by Leo Iannacone's avatar Leo Iannacone

warn use to select a distribution

parent adbad884
...@@ -49,8 +49,13 @@ function Page_Distrubion(socket) ...@@ -49,8 +49,13 @@ function Page_Distrubion(socket)
error.set("Detected '..' God Is Watching You !") error.set("Detected '..' God Is Watching You !")
return false return false
} }
if (! window.location.hash) if (! window.location.hash) {
window.location.pathname = '/' title.set("Please select a distribution")
file.clean()
files.hide()
unselect()
return false
}
var info = window.location.hash.split('/') var info = window.location.hash.split('/')
if (info.length == 2) if (info.length == 2)
window.location.hash = info[0] window.location.hash = info[0]
......
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