-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ecb02e5
commit 70dcf54
Showing
5 changed files
with
29 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -425,22 +425,7 @@ | |
|
||
// *********** CONDITIONS *********** | ||
|
||
|
||
// I think for search custom elements, we need to patch MozSearchAttribute? | ||
function getAttributeChildNode(type) { | ||
const elementMapping = { | ||
// search values - custom elements | ||
"[email protected]#subjectRegex" : "filtaquilla-search-value-textbox", | ||
"[email protected]#attachmentRegex" : "filtaquilla-search-value-textbox", | ||
"[email protected]#headerRegex" : "filtaquilla-search-value-textbox", | ||
"[email protected]#searchBcc" : "filtaquilla-search-value-textbox", | ||
"[email protected]#folderName" : "filtaquilla-search-value-textbox", | ||
|
||
}; | ||
const elementName = elementMapping[type]; | ||
return elementName ? document.createXULElement(elementName) : null; | ||
} | ||
|
||
|
||
function patchFiltaQuillaJavaScriptCondition(es) { | ||
// bindings.xml#javascript: inject a JS editor. Script returns true or false | ||
// add a class fq-js to the container element! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,8 +62,9 @@ menulist.flexinput { | |
|
||
|
||
|
||
/* JavaScript editor */ | ||
/* JavaScript editor | ||
OBSOLETE! | ||
.search-value-custom[searchAttribute="[email protected]#javascript"] { | ||
-moz-binding: url("chrome://filtaquilla/content/bindings.xml#javascript"); | ||
} | ||
|
||
*/ |