Skip to content
Snippets Groups Projects
Commit de37b8fc authored by jaden's avatar jaden
Browse files

use btn instead of span for label save, allow save on enter

parent cdd8dfa5
No related branches found
No related tags found
1 merge request!223Reports overhaul
......@@ -50,8 +50,8 @@ angular.module('reportApp').directive("editableLabel", [function(){
class='form-control'
placeholder='A label...'
ng-model='obj[field]'/>
<span class='input-group-addon' ng-click='toggleEditingGroupName()' style='cursor: pointer;'>
Save
<span class='input-group-btn' ng-click='toggleEditingGroupName()'>
<button type='submit' class='btn btn-default'>Save</button>
</span>
</span>
</form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment