diff --git a/modules/backend/formwidgets/recordfinder/assets/js/recordfinder.js b/modules/backend/formwidgets/recordfinder/assets/js/recordfinder.js index 640725219..5049cb65b 100644 --- a/modules/backend/formwidgets/recordfinder/assets/js/recordfinder.js +++ b/modules/backend/formwidgets/recordfinder/assets/js/recordfinder.js @@ -22,7 +22,7 @@ var RecordFinder = function(element, options) { this.$el = $(element) - this.options = options || {} + this.options = options || {} $.oc.foundation.controlUtils.markDisposable(element) Base.call(this) @@ -62,14 +62,15 @@ RecordFinder.prototype.updateRecord = function(linkEl, recordId) { if (!this.options.dataLocker) return - var self = this - $(this.options.dataLocker).val(recordId) + var $locker = $(this.options.dataLocker) + + $locker.val(recordId) this.$el.loadIndicator({ opaque: true }) this.$el.request(this.options.refreshHandler, { success: function(data) { this.success(data) - $(self.options.dataLocker).trigger('change') + $locker.trigger('change') } }) diff --git a/modules/system/assets/ui/storm.css b/modules/system/assets/ui/storm.css index bc3530f55..4f7bc42a7 100644 --- a/modules/system/assets/ui/storm.css +++ b/modules/system/assets/ui/storm.css @@ -1697,8 +1697,8 @@ a.control-status-list > ul li .status-text.warning:hover{color:#66512c} a.control-status-list > ul li .status-text.danger:hover{color:#843534} .control-status-list > ul li .status-label{float:right;display:inline-block;padding:1px 5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} .control-status-list > ul li .status-label:not(.link){color:white;letter-spacing:1px;font-family:monospace} -.control-status-list > ul li .status-icon{display:inline-block;text-align:center;color:white;width:22px;height:22px;line-height:22px;position:relative;top:-1px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px} -.control-status-list > ul li .status-icon > i{font-size:10px} +.control-status-list > ul li .status-icon{display:inline-block;text-align:center;color:white;width:22px;height:22px;position:relative;top:-1px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px} +.control-status-list > ul li .status-icon > i{font-size:10px;line-height:22px} .control-status-list > ul li .status-icon,.control-status-list > ul li .status-label{background:#aaa} .control-status-list > ul li .status-icon.success,.control-status-list > ul li .status-label.success{background:#31ac5f} .control-status-list > ul li .status-icon.primary,.control-status-list > ul li .status-label.primary{background:#34495e}