jqr-helpers 1.0.20 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -115,7 +115,7 @@
115
115
  dialogElement.prepend('<span class="ujs-dialog-x"></span>');
116
116
  }
117
117
  if (dialogElement.find('.ujs-dialog-title-hidden').length) {
118
- if (!dialogOptions['title'])
118
+ if (!dialogOptions['title'] || dialogOptions['title'] == 'Dialog')
119
119
  dialogOptions['title'] =
120
120
  dialogElement.find('.ujs-dialog-title-hidden').text();
121
121
  }
data/jqr-helpers.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jqr-helpers'
3
3
  s.require_paths = %w(. lib lib/jqr-helpers)
4
- s.version = '1.0.20'
4
+ s.version = '1.0.21'
5
5
  s.date = '2014-01-04'
6
6
  s.summary = 'Helpers to print unobtrusive jQuery-UI tags.'
7
7
  s.description = <<-EOF
@@ -1,5 +1,5 @@
1
1
  module JqrHelpers
2
2
  module Rails
3
- VERSION = '1.0.20'
3
+ VERSION = '1.0.21'
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jqr-helpers
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.20
5
+ version: 1.0.21
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Orner