Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-35460

Border arrows are not displayed for plugin resize-base

    Details

    • Fix Priority:
      3

      Description

      When you use A.Resize like this (in my case, in Control Panel portlet, stock CP theme and portal settings of 6.2.x):

      <aui:script use="aui-base,resize-base,liferay-store">
      ...
      var scriptTextarea = ...;
      var instance = new A.Resize({
      	autoHide: false,
      	node: scriptTextarea,
      	wrap: true,
      	handles: 'r, br, b'
      });
      </aui:script>
      

      then the border handles (the arrows) are never displayed. Problem seems to be in the reference to the arrows.png file from CSS of resize-base. In FireBug console, I can see error:

      "NetworkError: 400 Bad Request - http://localhost:8080/combo/arrows.png"
      

      The CSS for resize-base uses following CSS rule:

      .yui3-resize-handle-inner-r, 
      .yui3-resize-handle-inner-l, 
      .yui3-resize-handle-inner-t, 
      .yui3-resize-handle-inner-b, 
      .yui3-resize-handle-inner-tr, 
      .yui3-resize-handle-inner-br, 
      .yui3-resize-handle-inner-tl, 
      .yui3-resize-handle-inner-bl {
          background: url("arrows.png") no-repeat scroll 0 0 transparent;
          ...
      }
      

      But the CSS is served via URL:

      http://localhost:8080/combo/?browserId=firefox&minifierType=&languageId=en_US&b=6200&t=1369085618000&/html/js/aui/widget-base/assets/skins/sam/widget-base.css&/html/js/aui/resize-base/assets/skins/sam/resize-base.css

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 5 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.0 CE RC4