diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-07-22 09:37:19 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-07-22 09:37:26 +0200 |
commit | fcc01fc2f80a914ed6a99742ff2a4c7d6799ca59 (patch) | |
tree | d04004f2914d7f8ca173692ce5f1147d19708573 /server/sonar-web/src/main/coffee/coding-rules | |
parent | 9a5ebae109e097b0f3401f306d75aaa1b0edcd1b (diff) | |
download | sonarqube-fcc01fc2f80a914ed6a99742ff2a4c7d6799ca59.tar.gz sonarqube-fcc01fc2f80a914ed6a99742ff2a4c7d6799ca59.zip |
SONAR-3373 Fix availability of the "Create" button
Diffstat (limited to 'server/sonar-web/src/main/coffee/coding-rules')
-rw-r--r-- | server/sonar-web/src/main/coffee/coding-rules/views/header-view.coffee | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/coffee/coding-rules/views/header-view.coffee b/server/sonar-web/src/main/coffee/coding-rules/views/header-view.coffee index b3554347edf..caa03b54779 100644 --- a/server/sonar-web/src/main/coffee/coding-rules/views/header-view.coffee +++ b/server/sonar-web/src/main/coffee/coding-rules/views/header-view.coffee @@ -21,3 +21,8 @@ define [ createRule: -> @options.app.createManualRule() + + + serializeData: -> + _.extend super, + 'canWrite': @options.app.canWrite |