effective_assets 1.6.8 → 1.6.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 003d67f2fca12aac7d73aa78af0e97706171d464
4
- data.tar.gz: 1e7dfa42d876aa010c39308be1dd4ba86d7a3b3b
3
+ metadata.gz: cd04206c6534741d975b580c7a23d971474cee16
4
+ data.tar.gz: 947246d4dd2da35c57ce999c542abaed303bd7e0
5
5
  SHA512:
6
- metadata.gz: e4e5637aaeb539261a7039d28489b2856f90e500de201ac793ea44b22506e0baf2a99a36b958902d13afc0ed2cca2bf0e1a5b317c8ecdea5b3bd02e8b409756b
7
- data.tar.gz: 377868fc8724114fa626cc952c6aaf5258fa759fe9a40808134782f35b568ad8b5b3ea10e07f1c69808f2ccb5322c8c5ae47a01786a14991a06e7486eadcc3dd
6
+ metadata.gz: 5322431aee4fb9b0bf81d50502917d184dcabd7e04c9e2abec3e6f25a423e3ea1ff61d35abbe376c4dccef27dc4c9d61d554c38735dee5c33709b8ace980e912
7
+ data.tar.gz: ad6b87af1bf6a93d20cd180a106fdb5c8e97add42f99752a613e2425a86ca0174ca214316474537d0496d9f381624380a50e264802f3f28f1eb8bd75e9355dc1
@@ -46,7 +46,7 @@ CKEDITOR.dialog.add 'effective_asset', (editor) ->
46
46
  elements: [
47
47
  {
48
48
  type: 'html',
49
- html: "<p>* NOTE: This screen is for non-image files only. Please select 'Image' from the toolbar to work with images.",
49
+ html: "<p>* NOTE: This screen is for non-image files only. Please select 'Image' from the toolbar to work with images.",
50
50
  setup: (widget) ->
51
51
  if widget.data['asset_id']
52
52
  this.getDialog().selectPage('asset')
@@ -67,7 +67,7 @@ CKEDITOR.dialog.add 'effective_asset', (editor) ->
67
67
  id: 'link_title',
68
68
  type: 'text',
69
69
  label: 'Title',
70
- setup: (widget) -> this.setValue(widget.data.link_title)
70
+ setup: (widget) -> this.setValue(widget.data.link_title || widget.editor.getSelection().getSelectedText())
71
71
  commit: (widget) -> widget.setData('link_title', this.getValue()) if widget
72
72
  },
73
73
  {
@@ -1,3 +1,3 @@
1
1
  module EffectiveAssets
2
- VERSION = '1.6.8'.freeze
2
+ VERSION = '1.6.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.8
4
+ version: 1.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-28 00:00:00.000000000 Z
11
+ date: 2016-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails