aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/coffee/coding-rules
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-07-22 09:37:19 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-07-22 09:37:26 +0200
commitfcc01fc2f80a914ed6a99742ff2a4c7d6799ca59 (patch)
treed04004f2914d7f8ca173692ce5f1147d19708573 /server/sonar-web/src/main/coffee/coding-rules
parent9a5ebae109e097b0f3401f306d75aaa1b0edcd1b (diff)
downloadsonarqube-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.coffee5
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