Commit d7c276106d4b8f89d290c2a8d4e0cce58543a1f1
1 parent
a4267385
Exists in
master
and in
29 other branches
link-list-block-view: fix default target value
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/box_organizer/_link_list_block.rhtml
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | content_tag('td', text_field_tag('block[links][][name]', '', :maxlength => 20)) + | 23 | content_tag('td', text_field_tag('block[links][][name]', '', :maxlength => 20)) + |
24 | content_tag('td', text_field_tag('block[links][][address]', nil, :class => 'link-address'), :class => 'cel-address') + | 24 | content_tag('td', text_field_tag('block[links][][address]', nil, :class => 'link-address'), :class => 'cel-address') + |
25 | content_tag('td', select_tag('block[links][][target]', | 25 | content_tag('td', select_tag('block[links][][target]', |
26 | -options_for_select(LinkListBlock::TARGET_OPTIONS, link[:target]))) | 26 | +options_for_select(LinkListBlock::TARGET_OPTIONS, '_self'))) |
27 | ) + | 27 | ) + |
28 | javascript_tag("$('edit-link-list-block').scrollTop = $('edit-link-list-block').scrollHeight") | 28 | javascript_tag("$('edit-link-list-block').scrollTop = $('edit-link-list-block').scrollHeight") |
29 | end %> | 29 | end %> |