kenny_dialoggins 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.6
1
+ 1.0.7
@@ -33,11 +33,12 @@ KennyDialoggins.Dialog = function(content, options) {
33
33
  this._hideListener = this._generateHideListener();
34
34
  this._isShowing = false;
35
35
 
36
- this._class = options["class"] || ""
37
- this._beforeShow = options["beforeShow"] || Prototype.emptyFunction
38
- this._afterShow = options["afterShow"] || Prototype.emptyFunction
39
- this._beforeHide = options["beforeHide"] || Prototype.emptyFunction
40
- this._afterHide = options["afterHide"] || Prototype.emptyFunction
36
+ this._id = options["id"];
37
+ this._class = options["class"] || "";
38
+ this._beforeShow = options["beforeShow"] || Prototype.emptyFunction;
39
+ this._afterShow = options["afterShow"] || Prototype.emptyFunction;
40
+ this._beforeHide = options["beforeHide"] || Prototype.emptyFunction;
41
+ this._afterHide = options["afterHide"] || Prototype.emptyFunction;
41
42
 
42
43
  this._makeDialog();
43
44
  this.setContent(content);
@@ -186,7 +187,7 @@ Object.extend(KennyDialoggins.Dialog.prototype, {
186
187
  */
187
188
  _makeDialog: function() {
188
189
  if (!this._element) {
189
- this._element = new Element("DIV");
190
+ this._element = new Element("DIV", { id: this._id });
190
191
  this._element.addClassName("kenny_dialoggins_dialog");
191
192
  if (this._class) {
192
193
  this._element.addClassName(this._class);
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kenny_dialoggins}
8
- s.version = "1.0.6"
8
+ s.version = "1.0.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Coroutine", "Tim Lowrimore", "John Dugan"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kenny_dialoggins
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 6
10
- version: 1.0.6
9
+ - 7
10
+ version: 1.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Coroutine