removed alert when an error is thrown
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
var paramValue = hashParam.split('=')[1];
|
var paramValue = hashParam.split('=')[1];
|
||||||
document.write("<OPTION value=3>" + paramValue + "</OPTION>");
|
document.write("<OPTION value=3>" + paramValue + "</OPTION>");
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
alert(err);
|
|
||||||
}
|
}
|
||||||
//document.write("</select>");
|
//document.write("</select>");
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ module Railsgoat
|
|||||||
config.filter_parameters += [:password]
|
config.filter_parameters += [:password]
|
||||||
|
|
||||||
# Enable escaping HTML in JSON.
|
# Enable escaping HTML in JSON.
|
||||||
#config.active_support.escape_html_entities_in_json = false
|
#config.active_support.escape_html_entities_in_json = true
|
||||||
|
|
||||||
# Use SQL instead of Active Record's schema dumper when creating the database.
|
# Use SQL instead of Active Record's schema dumper when creating the database.
|
||||||
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
||||||
|
|||||||
Reference in New Issue
Block a user