Permalink
Browse files

minor fix to the password report confirmation

  • Loading branch information...
1 parent 95a7b29 commit 39ab0a2f9ea81e97537c8463b866105a721e621e @rnhurt committed Aug 25, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/reports/password_reset.rb
@@ -27,8 +27,7 @@ def self.get_params()
</select>
<div class="spacer">
- <input class="btn positive" type="submit" value="Run Report" onclick="if (confirm(
-'*WARNING* This will change data in the system.\\nAre you sure you want to continue?'));return false;"/>
+ <input class="btn positive" type="submit" value="Run Report" onclick="return confirm('*WARNING* This will change data in the system.\\nAre you sure you want to continue?');"/>
</div>
</fieldset>
</form>

0 comments on commit 39ab0a2

Please sign in to comment.