EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 13, 2024, 11:39:34 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
Bug Report
>
easyui 1.4 tab bug!
Pages: [
1
]
« previous
next »
Print
Author
Topic: easyui 1.4 tab bug! (Read 10024 times)
wh19890605
Newbie
Posts: 11
easyui 1.4 tab bug!
«
on:
August 04, 2014, 04:33:18 AM »
Tabs use of content when loading html or js js will perform two times.
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: easyui 1.4 tab bug!
«
Reply #1 on:
August 04, 2014, 04:54:32 AM »
Please provide an example to demonstrate your issue.
Logged
wh19890605
Newbie
Posts: 11
Re: easyui 1.4 tab bug!
«
Reply #2 on:
August 04, 2014, 05:23:53 AM »
function addTab(title, url, iconCls) {
iconCls = iconCls || 'icon-home';
if ($('#tabs').tabs('exists', title)) {
$('#tabs').tabs('select', title);
} else {
$('#tabs').tabs('add', {
title: title,
content: createFrame(url),
closable: true,
iconCls: iconCls
});
}
}
function createFrame(url) {
var s = '<iframe scrolling="auto" frameborder="0" src="' + url + '" style="width:100%;height:99.5%;"></iframe>';
return s;
}
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: easyui 1.4 tab bug!
«
Reply #3 on:
August 04, 2014, 06:34:24 AM »
Please run the attached example 'test.zip'. The javascript code runs only once.
Logged
wh19890605
Newbie
Posts: 11
Re: easyui 1.4 tab bug!
«
Reply #4 on:
August 04, 2014, 05:15:25 PM »
The javascript code run two times on IE11
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: easyui 1.4 tab bug!
«
Reply #5 on:
August 05, 2014, 01:29:33 AM »
Please try to download the patch from
http://www.jeasyui.com/download/downloads/jquery-easyui-1.4-patch.zip
.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...