Permalink
Browse files

Fix problem that caused the Confirm mixin to use the full Modalbox di…

…alog (not just window.alert) even when in test mode
  • Loading branch information...
1 parent 4f1d2e4 commit e8545af39bc74b1ee51cf86574ffb0e6dbe0ed57 @hlship committed Mar 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tapx-core/src/main/resources/com/howardlewisship/tapx/core/tapx.js
@@ -291,7 +291,7 @@ Tapx.extendInitializer(function() {
function runModalDialog(title, message, proceed) {
- if (Tapx.testMode) {
+ if (Tapx.TEST_MODE) {
if (window.confirm(message))
proceed.defer();

0 comments on commit e8545af

Please sign in to comment.