removed alert when an error is thrown

This commit is contained in:
cktricky
2014-05-26 16:58:26 -04:00
parent 1594255251
commit 8595954096
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -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>
+1 -1
View File
@@ -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,