edifice 0.6.6 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Edifice
2
- VERSION = "0.6.6"
2
+ VERSION = "0.6.7"
3
3
  end
@@ -128,11 +128,9 @@ var methods = {
128
128
  // for instance, you probably just want to redirect to somewhere, or show a dialog,
129
129
  // or popup something or.....?
130
130
  } else {
131
- // some other kind of error. Revisit
132
- alert('Form failed. Please try again.');
131
+ // some other kind of error- something in the browser (e.g. navigating away)
132
+ this.trigger('browser_error', [request, status, error, this]);
133
133
  }
134
-
135
-
136
134
  },
137
135
  }
138
136
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edifice
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 6
10
- version: 0.6.6
9
+ - 7
10
+ version: 0.6.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Coleman