FEATURE: unified popover implementation (#7244)

This commit is contained in:
Joffrey JAFFEUX
2019-03-26 15:43:27 +01:00
committed by GitHub
parent 4a1096f14a
commit 8fb63b2706
6 changed files with 310 additions and 18 deletions

View File

@ -4,10 +4,6 @@ import { exportEntity } from "discourse/lib/export-csv";
import { outputExportResult } from "discourse/lib/export-result";
import { SCHEMA_VERSION, default as Report } from "admin/models/report";
import computed from "ember-addons/ember-computed-decorators";
import {
registerHoverTooltip,
unregisterHoverTooltip
} from "discourse/lib/tooltip";
const TABLE_OPTIONS = {
perPage: 8,
@ -102,18 +98,6 @@ export default Ember.Component.extend({
}
},
didRender() {
this._super(...arguments);
registerHoverTooltip($(".info[data-tooltip]"));
},
willDestroyElement() {
this._super(...arguments);
unregisterHoverTooltip($(".info[data-tooltip]"));
},
showError: Ember.computed.or(
"showTimeoutError",
"showExceptionError",