Skip to content

Commit

Permalink
attach: fix BH-templates
Browse files Browse the repository at this point in the history
  • Loading branch information
sipayRT committed Jul 1, 2015
1 parent 0cf0e98 commit ea9dc01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common.blocks/attach/__button/attach__button.bh.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module.exports = function(bh) {
bh.match('button', function(ctx) {
if(ctx.tParam('_attach')) {
ctx
.applyBase()
.tag('span', true)
.applyBase()
.content([
{ block : 'attach', elem : 'control' },
ctx.content()
Expand Down
2 changes: 1 addition & 1 deletion common.blocks/attach/attach.tmpl-specs/10-simple.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<span class="attach attach_theme_simple attach_size_l i-bem" data-bem="{&quot;attach&quot;:{}}"><span class="button button_theme_islands button_size_m button__control i-bem" data-bem="{&quot;button&quot;:{}}" role="button" type="button"><input class="attach__control" type="file" name="attach-name" tabindex="1"/></span><span class="attach__no-file">no file</span></span>
<span class="attach attach_theme_simple attach_size_l i-bem" data-bem="{&quot;attach&quot;:{}}"><span class="button button_theme_islands button_size_m button__control i-bem" data-bem="{&quot;button&quot;:{}}" role="button"><input class="attach__control" type="file" name="attach-name" tabindex="1"/></span><span class="attach__no-file">no file</span></span>
2 changes: 1 addition & 1 deletion common.blocks/attach/attach.tmpl-specs/20-disabled.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<span class="attach attach_theme_simple attach_disabled i-bem" data-bem="{&quot;attach&quot;:{}}"><span class="button button_theme_simple button_disabled button__control i-bem" data-bem="{&quot;button&quot;:{}}" role="button" type="button" disabled="disabled"><input class="attach__control" type="file" disabled="disabled"/><span class="button__text">file</span></span><span class="attach__no-file">no file</span></span>
<span class="attach attach_theme_simple attach_disabled i-bem" data-bem="{&quot;attach&quot;:{}}"><span class="button button_theme_simple button_disabled button__control i-bem" data-bem="{&quot;button&quot;:{}}" role="button" aria-disabled="true"><input class="attach__control" type="file" disabled="disabled"/><span class="button__text">file</span></span><span class="attach__no-file">no file</span></span>

0 comments on commit ea9dc01

Please sign in to comment.