ソースを参照

Firefox: Workaround for Firefox bug, casued input text fields to not be selectable and not have placeable cursor, Fixes #1123

Torkel Ödegaard 11 年 前
コミット
ac4524cf9b
2 ファイル変更3 行追加3 行削除
  1. 1 0
      CHANGELOG.md
  2. 2 3
      src/app/partials/dashboard.html

+ 1 - 0
CHANGELOG.md

@@ -11,6 +11,7 @@
 - [Issue #1114](https://github.com/grafana/grafana/issues/1114). Graphite: Lexer fix, allow equal sign (=) in metric paths
 - [Issue #1114](https://github.com/grafana/grafana/issues/1114). Graphite: Lexer fix, allow equal sign (=) in metric paths
 - [Issue #1136](https://github.com/grafana/grafana/issues/1136). Graph: Fix to legend value Max and negative values
 - [Issue #1136](https://github.com/grafana/grafana/issues/1136). Graph: Fix to legend value Max and negative values
 - [Issue #1150](https://github.com/grafana/grafana/issues/1150). SinglestatPanel: Fixed absolute drilldown link issue
 - [Issue #1150](https://github.com/grafana/grafana/issues/1150). SinglestatPanel: Fixed absolute drilldown link issue
+- [Issue #1123](https://github.com/grafana/grafana/issues/1123). Firefox: Workaround for Firefox bug, casued input text fields to not be selectable and not have placeable cursor
 
 
 # 1.9.0-rc1 (2014-11-17)
 # 1.9.0-rc1 (2014-11-17)
 
 

+ 2 - 3
src/app/partials/dashboard.html

@@ -78,13 +78,12 @@
 					<div class="row-text pointer" ng-click="toggle_row(row)" ng-if="row.showTitle" ng-bind="row.title">
 					<div class="row-text pointer" ng-click="toggle_row(row)" ng-if="row.showTitle" ng-bind="row.title">
 					</div>
 					</div>
 
 
-					<!-- Panels -->
+					<!-- Panels, draggable needs to be disabled in fullscreen because Firefox bug -->
 					<div ng-repeat="(name, panel) in row.panels"
 					<div ng-repeat="(name, panel) in row.panels"
 						class="panel"
 						class="panel"
-						ui-draggable="true" drag="panel.id"
+						ui-draggable="{{!dashboardViewState.fullscreen}}" drag="panel.id"
 						ui-on-Drop="onDrop($data, row, panel)"
 						ui-on-Drop="onDrop($data, row, panel)"
 						drag-handle-class="drag-handle" panel-width ng-model="panel">
 						drag-handle-class="drag-handle" panel-width ng-model="panel">
-
 						<grafana-panel type="panel.type" ng-cloak></grafana-panel>
 						<grafana-panel type="panel.type" ng-cloak></grafana-panel>
 					</div>
 					</div>