Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
AdminLTE
提交
cbda6b5c
A
AdminLTE
项目概览
知鸟1号
/
AdminLTE
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
AdminLTE
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
cbda6b5c
编写于
1月 31, 2019
作者:
O
Olda Horák
提交者:
Abdullah Almsaeed
1月 31, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix for issue #1976 (#1981)
* issue1976 * issue1976_grunt_js
上级
113a3b4c
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
22 deletion
+9
-22
build/js/BoxRefresh.js
build/js/BoxRefresh.js
+4
-4
dist/js/adminlte.js
dist/js/adminlte.js
+4
-4
dist/js/adminlte.min.js
dist/js/adminlte.min.js
+1
-14
未找到文件。
build/js/BoxRefresh.js
浏览文件 @
cbda6b5c
...
...
@@ -35,7 +35,7 @@
var
BoxRefresh
=
function
(
element
,
options
)
{
this
.
element
=
element
;
this
.
options
=
options
;
this
.
$overlay
=
$
(
options
.
overlay
);
this
.
$overlay
=
$
(
options
.
overlay
Template
);
if
(
options
.
source
===
''
)
{
throw
new
Error
(
'
Source url was not defined. Please specify a url in your BoxRefresh source option.
'
);
...
...
@@ -51,7 +51,7 @@
$
.
get
(
this
.
options
.
source
,
this
.
options
.
params
,
function
(
response
)
{
if
(
this
.
options
.
loadInContent
)
{
$
(
this
.
options
.
content
).
html
(
response
);
$
(
this
.
element
).
find
(
this
.
options
.
content
).
html
(
response
);
}
this
.
options
.
onLoadDone
.
call
(
$
(
this
),
response
);
this
.
_removeOverlay
();
...
...
@@ -61,7 +61,7 @@
// Private
BoxRefresh
.
prototype
.
_setUpListeners
=
function
()
{
$
(
this
.
element
).
on
(
'
click
'
,
Selector
.
trigger
,
function
(
event
)
{
$
(
this
.
element
).
on
(
'
click
'
,
this
.
options
.
trigger
,
function
(
event
)
{
if
(
event
)
event
.
preventDefault
();
this
.
load
();
}.
bind
(
this
));
...
...
@@ -72,7 +72,7 @@
};
BoxRefresh
.
prototype
.
_removeOverlay
=
function
()
{
$
(
this
.
element
).
remove
(
this
.
$overlay
);
$
(
this
.
$overlay
).
remove
(
);
};
// Plugin Definition
...
...
dist/js/adminlte.js
浏览文件 @
cbda6b5c
...
...
@@ -54,7 +54,7 @@ throw new Error('AdminLTE requires jQuery')
var
BoxRefresh
=
function
(
element
,
options
)
{
this
.
element
=
element
;
this
.
options
=
options
;
this
.
$overlay
=
$
(
options
.
overlay
);
this
.
$overlay
=
$
(
options
.
overlay
Template
);
if
(
options
.
source
===
''
)
{
throw
new
Error
(
'
Source url was not defined. Please specify a url in your BoxRefresh source option.
'
);
...
...
@@ -70,7 +70,7 @@ throw new Error('AdminLTE requires jQuery')
$
.
get
(
this
.
options
.
source
,
this
.
options
.
params
,
function
(
response
)
{
if
(
this
.
options
.
loadInContent
)
{
$
(
this
.
options
.
content
).
html
(
response
);
$
(
this
.
element
).
find
(
this
.
options
.
content
).
html
(
response
);
}
this
.
options
.
onLoadDone
.
call
(
$
(
this
),
response
);
this
.
_removeOverlay
();
...
...
@@ -80,7 +80,7 @@ throw new Error('AdminLTE requires jQuery')
// Private
BoxRefresh
.
prototype
.
_setUpListeners
=
function
()
{
$
(
this
.
element
).
on
(
'
click
'
,
Selector
.
trigger
,
function
(
event
)
{
$
(
this
.
element
).
on
(
'
click
'
,
this
.
options
.
trigger
,
function
(
event
)
{
if
(
event
)
event
.
preventDefault
();
this
.
load
();
}.
bind
(
this
));
...
...
@@ -91,7 +91,7 @@ throw new Error('AdminLTE requires jQuery')
};
BoxRefresh
.
prototype
.
_removeOverlay
=
function
()
{
$
(
this
.
element
).
remove
(
this
.
$overlay
);
$
(
this
.
$overlay
).
remove
(
);
};
// Plugin Definition
...
...
dist/js/adminlte.min.js
浏览文件 @
cbda6b5c
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录