Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1940

Drag & drop disabled for the button but not for his image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • 6.5.3
    • Window 7 64bit, Eclipse Indigo, ZK 6.5.3 PE, ZulJsp, JDK 1.6, JRE 6

      Hello,
      also if drag&drop is disabled on ToobarButton, Button and in each component with an image ( draggable="false" ),
      the image is still draggable into an input component like Textbox or in browser addressbar.

      The html generated tag for image is in the following function?
      zul.LabelImageWidget
      domImage_: function ()

      { var img = this._image; return img ? '<img src="' + img + '" align="absmiddle" />': ''; }

      on the followiwng zul component LabelImageWidget.js file

      Is there any way to override it and add the draggable="false" that maybe will stop this behavior?

            noahhuang noahhuang
            apiarra apiarra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: