EasyUI Forum
April 26, 2024, 01:31:56 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: 1.5.4.3 menu('findItem') inconsistent results  (Read 5890 times)
phunksta
Jr. Member
**
Posts: 54


View Profile Email
« on: March 29, 2018, 03:14:55 AM »

Issue spotted when using datagrid-filter.js with 1.5.4.3, several errors thrown when the filter icon update occurs.

re-created on the Current demo page

Code:
$('#mm')[0]
<div id=​"mm" class=​"easyui-menu menu-top menu" style=​"width:​ 120px;​ height:​ 124px;​ overflow:​ hidden;​ display:​ none;​ left:​ 0px;​ top:​ 0px;​">​
<div class=​"menu-line" style=​"height:​ 122px;​">​</div>​
<div onclick=​"javascript:​alert('new')​" class=​"menu-item" style=​"height:​ 22px;​">​
<div class=​"menu-text" style=​"height:​ 20px;​ line-height:​ 20px;​">​New​</div>​
</div>
​<div class=​"menu-item" style=​"height:​ 22px;​">​
<div class=​"menu-text" style=​"height:​ 20px;​ line-height:​ 20px;​">​<span>​Open​</span>​
</div>​
<div class=​"menu-rightarrow">​</div>​</div>​<div data-options=​"iconCls:​'icon-save'" class=​"menu-item" style=​"height:​ 22px;​">​…​</div>​<div data-options=​"iconCls:​'icon-print',disabled:​true" class=​"menu-item menu-item-disabled" style=​"height:​ 22px;​">​…​</div>​
<div class=​"menu-sep">​</div>​<div class=​"menu-item" style=​"height:​ 22px;​">​…​</div>​</div>​

$('#mm').menu('findItem','New')
null

$('#mm').menu('findItem','Open')
{text: "<span>Open</span>", onclick: null, target: div.menu-item}

Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: March 29, 2018, 08:14:17 AM »

Please try to download a newer version from https://www.jeasyui.com/download/v154.php
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!