AC-681 simulating a disabled button for project update and inventory update. Button appears disabled, but tooltips work. On *disabled* buttons tooltip explains why it is disabled. Button is clickable, but nothing happens- just like a real disable dbutton.

This commit is contained in:
Chris Houseknecht
2013-11-21 17:02:40 +00:00
parent b0d423222c
commit 376d59dfcc
6 changed files with 62 additions and 10 deletions

View File

@@ -122,7 +122,8 @@ angular.module('ProjectsListDefinition', [])
icon: 'icon-cloud-download',
"class": 'btn-xs btn-success',
ngClick: 'SCMUpdate(\{\{ project.id \}\})',
awToolTip: 'Perform an SCM update on this project'
awToolTip: "\{\{ project.scm_update_tooltip \}\}",
ngClass: "project.scm_type_class"
},
cancel: {
label: 'Cancel',