Permalink
Browse files

Issue 5483 (Image previews in HTML panel missing on hover)

  • Loading branch information...
1 parent a66086c commit e24671dff594a06c0743e566fb461124ed2057c7 @SebastianZ SebastianZ committed May 20, 2012
Showing with 8 additions and 5 deletions.
  1. +3 −2 extension/content/firebug/css/cssReps.js
  2. +5 −3 extension/content/firebug/html/htmlPanel.js
@@ -2,6 +2,7 @@
define([
"firebug/lib/object",
+ "firebug/chrome/infotip",
"firebug/lib/domplate",
"firebug/js/sourceLink",
"firebug/lib/locale",
@@ -10,7 +11,7 @@ define([
"firebug/lib/string",
"firebug/lib/fonts"
],
-function(Obj, Domplate, SourceLink, Locale, Dom, Css, Str, Fonts) {
+function(Obj, InfoTip, Domplate, SourceLink, Locale, Dom, Css, Str, Fonts) {
with (Domplate) {
@@ -22,7 +23,7 @@ const maxHeight = 80;
// ********************************************************************************************* //
-var CSSInfoTip = Obj.extend(Firebug.InfoTip,
+var CSSInfoTip = Obj.extend(InfoTip,
{
dispatchName: "cssInfoTip",
@@ -19,17 +19,19 @@ define([
"firebug/lib/persist",
"firebug/chrome/menu",
"firebug/lib/url",
+ "firebug/css/cssReps",
"firebug/js/breakpoint",
"firebug/editor/editor",
- "firebug/chrome/infotip",
"firebug/chrome/searchBox",
"firebug/html/insideOutBox",
"firebug/html/inspector",
"firebug/html/layout"
],
function(Obj, Firebug, Domplate, FirebugReps, Locale, HTMLLib, Events,
SourceLink, Css, Dom, Win, Options, Xpath, Str, Xml, Arr, Persist, Menu,
- Url) { with (Domplate) {
+ Url, CSSInfoTip) {
+
+with (Domplate) {
// ********************************************************************************************* //
// Constants
@@ -1654,7 +1656,7 @@ Firebug.HTMLPanel.prototype = Obj.extend(WalkingPanel,
return true;
this.infoTipURL = url;
- return Firebug.InfoTip.populateImageInfoTip(infoTip, url);
+ return CSSInfoTip.populateImageInfoTip(infoTip, url);
}
},

0 comments on commit e24671d

Please sign in to comment.