Commit bde9cf4f authored by Leo Iannacone's avatar Leo Iannacone

prevent loop if data package orig_name is not defined - happens when...

prevent loop if data package orig_name is not defined - happens when package.name is defined and package.version not
parent f345ae24
...@@ -190,9 +190,11 @@ var Page_Distrubion = { ...@@ -190,9 +190,11 @@ var Page_Distrubion = {
{ {
Page_Distrubion.file.clean() Page_Distrubion.file.clean()
Page_Distrubion.files.get(data) Page_Distrubion.files.get(data)
if (Utils.check_data_package(data)) {
// I will always get dataestamp from package // I will always get dataestamp from package
window.location.hash += '/datestamp' window.location.hash += '/datestamp'
} }
}
else if ( else if (
! Utils.check_data_file(old_data) || ! Utils.check_data_file(old_data) ||
! Utils.check_data_file(data) || ! Utils.check_data_file(data) ||
......
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