<commit_before><?xml version="1.0" encoding="UTF-8"?>

<overlay id="tagalltabs_bookmarkproperties"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    <script src="chrome://tagalltabs/content/bookmarkPropertiesOverlay.js"/>
    <script>
        /**
         * Hooks TagAllTabs in dialog initialization.
         * @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/bookmarkProperties.xul#26
         * @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/bookmarkProperties.js#308
         */
        function onDialogLoadHook() {
            BookmarkPropertiesPanel.onDialogLoad();
            TagAllTabs.onDialogLoad();
        }
        /**
         * Hooks TagAllTabs on dialog's accept button.
         * @returns True to hide the dialog window, otherwise false.
         * @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/bookmarkProperties.xul#23
         * @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/bookmarkProperties.js#468
         */
        function onDialogAcceptHook() {
            TagAllTabs.onDialogAccept();
            return BookmarkPropertiesPanel.onDialogAccept();
        }
    </script>

    <dialog id="bookmarkproperties"
            onload="onDialogLoadHook();"
            ondialogaccept="onDialogAcceptHook();"/>
</overlay><commit_msg>fixes #1<commit_after><?xml version="1.0" encoding="UTF-8"?>

<overlay id="tagalltabs_bookmarkproperties"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    <script src="chrome://tagalltabs/content/bookmarkPropertiesOverlay.js"/>
    <script>
        /**
         * Hooks TagAllTabs in dialog initialization.
         * @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/bookmarkProperties.xul#26
         * @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/bookmarkProperties.js#308
         */
        function onDialogLoadHook() {
            BookmarkPropertiesPanel.onDialogLoad();
            TagAllTabs.onDialogLoad();
        }
        /**
         * Hooks TagAllTabs on dialog's accept button.
         * @returns True to hide the dialog window, otherwise false.
         * @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/bookmarkProperties.xul#23
         * @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/bookmarkProperties.js#468
         */
        function onDialogAcceptHook() {
            TagAllTabs.onDialogAccept();
            return BookmarkPropertiesPanel.onDialogAccept();
        }
    </script>

    <!--
      ** Hooks on the dialog window events.
      -->
    <dialog id="bookmarkproperties"
            onload="onDialogLoadHook();"
            ondialogaccept="onDialogAcceptHook();"/>
    <!--
      ** The gEditItemOverlay wasn't initialized to reckon with tags field, so disable
      ** all event handlers that could surprise it.
      ** @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/editBookmarkOverlay.xul#151
      ** @see http://mxr.mozilla.org/mozilla-release/source/browser/components/places/content/editBookmarkOverlay.js#411
      -->
    <textbox id="editBMPanel_tagsField"
             onblur=""/>
</overlay>
{'fraction_non_alphanumeric': 0.1280093951849677, 'fraction_numerical': 0.009688784497944804, 'mean_word_length': 2.7771618625277164, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 2, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5315272', 'n_tokens_mistral': 1004, 'n_tokens_neox': 953, 'n_words': 135}