waiter 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWFkZmNkZmY4ZmMyYmE1OThkNGFkYmMxY2FlM2ZhMWM2OWEyZmU2Yw==
4
+ OWFkZmZiNzI0ZTY5MDJhZDhjZGE3OGM0ZDM4ZGI5MjViODIzMWVlNw==
5
5
  data.tar.gz: !binary |-
6
- N2Q0M2M3YTYwNGJkYWZlYTk2MmVjMTY3YmE1ZDAzYzVlNGRkMjJjNA==
6
+ NjFjMzk5ZjQ3NDJmMzNmMzJmOTZmOGQ0ZTdmM2M2YzliMDFkYmJlNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTk5YWIyMGVlOTUzZTE1OGRkMDRlN2ZhYjQxZTAxMWFiMjRkOWVhMTQzMjZk
10
- MzMzNzkzODBmNDg5Y2ZhZmY1NGNhMWFiYTBiN2M1ZDM5ZTc2ZDE4NTgxNzJj
11
- ZGFiOTM5ODExZjQxNDc4MTAxMThkNTBlMjQ3MmY4ODVlNDAzZDA=
9
+ MTA2YmUwMDZiMmY1MjAwMjQyMWVhOTIyOTEwMjhlNzQyMjIzODNlMDdkNzU1
10
+ ZDI2NjJlNTNmZjFmMTc0MWJhNDUxMWI2NzdiNGVlNjBhMDhmY2FiYmJjMDI0
11
+ YTg3YzA0Mzg0OGU5N2QzNjRhNmEwMjUwZTUwOGY1ODhkNGRhNGI=
12
12
  data.tar.gz: !binary |-
13
- OGFjNWEwMWUxMmE4YTBmOWUxNmFlYzQ3YmI5ZGEwNGZmNmU2MWY2YzI0ZDc0
14
- NDgzZjU3YTZmZjg1ZWYzZmJjNGQ5ZDViYjUzZWQ4ZmVhYmIxZmZlYWI2NWNm
15
- ZjgwZGYyMTRmMGI4MzYyNWM3ZjA4ZTBjOTEzNzE0NjU5ZmNhNjI=
13
+ ZDYzZWMxOTVjZWE1OTExMzFmMjcwYjYyNjc0MGVkMDFhMjNkYjczNDg5Zjkz
14
+ M2EzYmZkMjFhMDFlY2Q0NTIyNjgxM2YzMjYyNjIxNGQ5OTQ2NGUwODRkZmVj
15
+ ZDA5NWMzNDFhYjdkYTZlMWZlNWY5ZTQ1MTlmNjAzMTM4YzE5NTc=
@@ -36,6 +36,11 @@
36
36
  height: 20px;
37
37
  min-width: 80px;
38
38
  text-decoration: none;
39
+
40
+ &.noclick
41
+ {
42
+ cursor: default;
43
+ }
39
44
  }
40
45
 
41
46
  &:hover, &.selected
@@ -2,7 +2,7 @@
2
2
  - if item.path
3
3
  = link_to item.menu_title, item.path
4
4
  - else
5
- = item.menu_title
5
+ = link_to item.menu_title, '#', class: 'noclick', onclick: 'return true;'
6
6
 
7
7
  - if item.submenu?
8
8
  = render 'waiter/submenu', parent: item, items: item.submenu.items(true)
@@ -1,3 +1,3 @@
1
1
  module Waiter
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waiter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Vandersluis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-24 00:00:00.000000000 Z
11
+ date: 2014-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  type: :runtime