Skip to content

Commit

Permalink
Fix focus outlline. Switch creation method for xtemplate.
Browse files Browse the repository at this point in the history
  • Loading branch information
boushley committed Mar 17, 2012
1 parent 4df1f69 commit 4f9d077
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions architecture-examples/extjs/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ body {
padding: 0;
}

:focus {
outline: none;
}

body {
font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 1.4em;
Expand Down
2 changes: 1 addition & 1 deletion architecture-examples/extjs/js/view/TaskCompleteButton.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Ext.define('Todo.view.TaskCompleteButton' , {
extend: 'Ext.Button',
alias: 'widget.completeButton',
tpl: new Ext.XTemplate('<a id="clear-completed">{text}</a>', {compiled: true}),
tpl: Ext.create('Ext.XTemplate', '<a id="clear-completed">{text}</a>', {compiled: true}),
setText: function (text) {
this.update({text:text});
}
Expand Down

0 comments on commit 4f9d077

Please sign in to comment.