local_pac 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,15 +3,18 @@
3
3
 
4
4
  $('#navigation a[href="#styled"]').click(function (e) {
5
5
  e.preventDefault()
6
+ console.log('hit styled')
6
7
  $(this).tab('show')
7
8
  })
8
9
 
9
10
  $('#navigation a[href="#verbatim"]').click(function (e) {
10
11
  e.preventDefault()
12
+ console.log('hit verbatim')
11
13
  $(this).tab('show')
12
14
  })
13
15
 
14
- $('#reset').click(function (e){
15
- e.preventDefault()
16
- $('#url').val('')
16
+ $(window).load(function(){
17
+ $("#reset").click(function () {
18
+ $('#url').val('')
19
+ });
17
20
  });
data/app/views/form.haml CHANGED
@@ -7,5 +7,5 @@
7
7
  .lp_buttons
8
8
  %button.lp_button_search{type: 'submit', value: t('views.application.buttons.search')}
9
9
  = t('views.application.buttons.search')
10
- %button#reset.lp_button_reset{type: 'submit', value: t('views.application.buttons.reset')}
10
+ %a#reset.lp_button_reset{href: '#'}
11
11
  = t('views.application.buttons.reset')
@@ -1,4 +1,4 @@
1
1
  #main LocalPac
2
2
  module LocalPac
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: local_pac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-21 00:00:00.000000000 Z
12
+ date: 2014-02-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor