{"action":"created","issue":{"url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/107","labels_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/107/comments","events_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/107/events","html_url":"https://github.com/vitalets/angular-xeditable/issues/107","id":30827697,"number":107,"title":"Using xeditable in AngularUi Tab Heading","user":{"login":"mikyladewitt","id":1285448,"avatar_url":"https://avatars.githubusercontent.com/u/1285448?v=3","gravatar_id":"","url":"https://api.github.com/users/mikyladewitt","html_url":"https://github.com/mikyladewitt","followers_url":"https://api.github.com/users/mikyladewitt/followers","following_url":"https://api.github.com/users/mikyladewitt/following{/other_user}","gists_url":"https://api.github.com/users/mikyladewitt/gists{/gist_id}","starred_url":"https://api.github.com/users/mikyladewitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikyladewitt/subscriptions","organizations_url":"https://api.github.com/users/mikyladewitt/orgs","repos_url":"https://api.github.com/users/mikyladewitt/repos","events_url":"https://api.github.com/users/mikyladewitt/events{/privacy}","received_events_url":"https://api.github.com/users/mikyladewitt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-04-04T01:16:35Z","updated_at":"2015-03-17T13:53:46Z","closed_at":null,"body":"Hello,\r\n\r\nIs there a way to allow the xeditable fields work within an AngularUI Tab Heading? Currently, the submit does not seem to do anything. Not sure if this is an angular-ui issue or a xeditable issue.\r\n\r\nHere is a [stackoverflow question](http://stackoverflow.com/questions/21422822/using-x-editable-within-ui-bootstrap-tab-heading-directive-in-angularjs) that details the problem and a [jsfiddle](http://jsfiddle.net/RDfTu/) from that same question.\r\n\r\nThis works great otherwise though!"},"comment":{"url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/comments/82363331","html_url":"https://github.com/vitalets/angular-xeditable/issues/107#issuecomment-82363331","issue_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/107","id":82363331,"user":{"login":"hfar","id":11161787,"avatar_url":"https://avatars.githubusercontent.com/u/11161787?v=3","gravatar_id":"","url":"https://api.github.com/users/hfar","html_url":"https://github.com/hfar","followers_url":"https://api.github.com/users/hfar/followers","following_url":"https://api.github.com/users/hfar/following{/other_user}","gists_url":"https://api.github.com/users/hfar/gists{/gist_id}","starred_url":"https://api.github.com/users/hfar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfar/subscriptions","organizations_url":"https://api.github.com/users/hfar/orgs","repos_url":"https://api.github.com/users/hfar/repos","events_url":"https://api.github.com/users/hfar/events{/privacy}","received_events_url":"https://api.github.com/users/hfar/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T13:53:46Z","updated_at":"2015-03-17T13:53:46Z","body":"Hello,\r\n\r\nI had the same issue and in my case i was able to solve it using `blur` attribute :\r\n\r\n    <tab-heading>\r\n       <span editable-text=\"tab.name\" onbeforesave=\"validate($data)\" buttons=\"no\" blur=\"submit\">{{ tab.name}}</span>\r\n     </tab-heading>\r\n\r\nPlease see the [documentation][1].\r\n\r\nAlso please see the below code in `xeditable.js`: \r\n\r\n    if (shown[i]._blur === 'submit') {\r\n            toSubmit.push(shown[i]);\r\n          }\r\n\r\n  [1]: http://vitalets.github.io/angular-xeditable/#ref-element"}}