Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-54335

Pressing 'Enter' or 'Tab' while working with bullet point results to an Error

    • Icon: Bug Bug
    • Resolution: Unsolved Mysteries
    • Icon: Low Low
    • None
    • Chrome

      I have found an error which can be re-generated by taking below step,

      1) Create new confluence document.
      2) Add bullet point
      3) Try to indent with tab so that we can get indented bullet
      4) Chrome console will show you an error,

      Error:
      Uncaught TypeError: Cannot call method 'indexOf' of undefined

      Code:

      VM318.js
      // Some comments here
      try {
      /* module-key = 'com.atlassian.confluence.editor:editor-javascript-resources', location = 'tinymce3/plugins/propertypanel/js/tinyMce-property-panel-links.js' */
      (function(b){var a=0;AJS.Confluence.PropertyPanel.Link={name:"link",canHandleElement:function(c){return c.is("a")&&c.attr("href")!="#"&&!c.hasClass("unresolved")},handle:function(i){var h=i.containerEl;var d=i.ed,c=function(j){return AJS.Rte.getEditor().getLang(j)},e={anchorIframe:AJS.Rte.getEditorFrame()},f=b(h).attr("href").indexOf("#")==0,g=[{className:"link-property-panel-goto-button",text:c("propertypanel.links_goto"),tooltip:f?c("propertypanel.links_goto_disabled_tooltip"):h.href,href:h.href,disabled:f,click:function(){AJS.Confluence.PropertyPanel.destroy();var j=tinymce.isIE?"_blank":"confluence-goto-link-"+AJS.params.pageId+"-"+a;var k=window.open(h.href,j);if(k){k.focus()}}},{className:"link-property-panel-edit-button",text:c("propertypanel.links_edit"),tooltip:c("propertypanel.links_edit_tooltip"),disabled:b(h).hasClass("createlink")||!h.href,click:function(){AJS.Confluence.PropertyPanel.destroy();d.selection.select(h);Confluence.Editor.LinkBrowser.open()}},{className:"link-property-panel-unlink-button",text:c("propertypanel.links_unlink"),tooltip:c("propertypanel.links_unlink_tooltip"),click:function(){AJS.Confluence.PropertyPanel.destroy();d.execCommand("mceConfUnlink",false,h);d.focus()}}];AJS.Confluence.PropertyPanel.createFromButtonModel(this.name,h,g,e);a++}}})(AJS.$);AJS.bind("init.rte",function(){AJS.trigger("add-handler.property-panel",AJS.Confluence.PropertyPanel.Link)});
      } catch (err) {
          if (console && console.log && console.error) {
              console.log("Error running batched script.");
              console.error(err);
          }
      }
      

            [CONFCLOUD-54335] Pressing 'Enter' or 'Tab' while working with bullet point results to an Error

            Hi vulhuntapp

            Thanks for the update on this. I'll close this out as an unsolved mystery.

            Regards
            Steve

            Steve Haffenden (Inactive) added a comment - Hi vulhuntapp Thanks for the update on this. I'll close this out as an unsolved mystery. Regards Steve

            Hi Steve,

            Just tried it to create video and you are right. Some how I can't reproduce it. Seems like the machine is proving me wrong . You may close the issue as the indentation works as expected. Thanks for your time.

            P.S. This could be the Chrome issue, as the Chrome updated itself and everything is back to normal.

            Regards,

            Kru

            Krutarth Majithiya added a comment - Hi Steve, Just tried it to create video and you are right. Some how I can't reproduce it. Seems like the machine is proving me wrong . You may close the issue as the indentation works as expected. Thanks for your time. P.S. This could be the Chrome issue, as the Chrome updated itself and everything is back to normal. Regards, Kru

            Hi vulhuntapp

            Thanks for the update. Unfortunately I'm still unable to reproduce this. Could you confirm the OS you are using, and would you be able to provide a video showing the issue occurring?

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi vulhuntapp Thanks for the update. Unfortunately I'm still unable to reproduce this. Could you confirm the OS you are using, and would you be able to provide a video showing the issue occurring? Regards Steve Haffenden Confluence Bugmaster Atlassian

            Krutarth Majithiya added a comment - - edited

            Hi Steve,

            It is the most recent version for onDemand customers.
            From link: https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Application+Versions

            it seems to be, 1.0.304

            Kru

            Krutarth Majithiya added a comment - - edited Hi Steve, It is the most recent version for onDemand customers. From link: https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Application+Versions it seems to be, 1.0.304 Kru

            Hi Krutarth

            Thanks for taking the time to raise this issue. Could you confirm which version of Confluence you are using. Could you also confirm whether you have any customisations in your instance of Confluence?

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi Krutarth Thanks for taking the time to raise this issue. Could you confirm which version of Confluence you are using. Could you also confirm whether you have any customisations in your instance of Confluence? Regards Steve Haffenden Confluence Bugmaster Atlassian

              shaffenden Steve Haffenden (Inactive)
              dba84f848243 Krutarth Majithiya
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: