Permalink
Browse files

cancelEditing() func is removed

  • Loading branch information...
1 parent 21e70d6 commit 699d672de7c626200dd659630ee4ac0fa633e409 @farshidbeheshti farshidbeheshti committed Sep 4, 2012
Showing with 1 addition and 12 deletions.
  1. +1 −12 extension/content/firebug/css/cssPanel.js
@@ -1798,17 +1798,6 @@ CSSEditor.prototype = domplate(Firebug.InlineEditor.prototype,
this.initiallyDisabled = (row && row.classList.contains("disabledStyle"));
},
- cancelEditing: function(target, value)
- {
- if (this.initiallyDisabled)
- {
- // Disable the property again.
- var row = Dom.getAncestorByClass(target, "cssProp");
- if (row && !row.classList.contains("disabledStyle"))
- this.panel.disablePropertyRow(row);
- }
- },
-
advanceToNext: function(target, charCode)
{
if (charCode == 58 /*":"*/ && Css.hasClass(target, "cssPropName"))
@@ -2880,4 +2869,4 @@ Firebug.registerPanel(Firebug.CSSStyleSheetPanel);
return Firebug.CSSStyleSheetPanel;
// ********************************************************************************************* //
-}});
+}});

0 comments on commit 699d672

Please sign in to comment.