mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-29 17:10:31 +00:00
(js) Improve sgColorPicker directive
- replaced sg-on-select by ng-model; - set button background (no more wrapping necessary).
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<md-toolbar ng-class="properties.calendar.getClassName('bg')">
|
||||
<div class="md-toolbar-tools">
|
||||
<!-- color -->
|
||||
<sg-color-picker sg-on-select="properties.setColor(color)"><!-- color picker --></sg-color-picker>
|
||||
<sg-color-picker ng-model="properties.calendar.color"><!-- color picker --></sg-color-picker>
|
||||
<!-- name -->
|
||||
<md-input-container>
|
||||
<label><var:string label:value="Name"/></label>
|
||||
|
||||
Reference in New Issue
Block a user