Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Павел Резуненко
/
MTAweb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 73bb5788
authored
Aug 05, 2013
by
Павел Резуненко
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Поправленны ошибки при поиске. Добавлен сброк предыдущих параметров
1 parent
81e38050
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
public/app/controller/Aliases.js
public/app/controller/Transports.js
public/app/controller/Users.js
public/app/controller/Aliases.js
View file @
73bb578
...
@@ -82,7 +82,11 @@ Ext.define('MyMA.controller.Aliases', {
...
@@ -82,7 +82,11 @@ Ext.define('MyMA.controller.Aliases', {
* Search action
* Search action
*/
*/
onSearch
:
function
(
Button
)
{
onSearch
:
function
(
Button
)
{
this
.
getAliasesList
().
getStore
().
reload
({
params
:
Button
.
up
(
'toolbar'
).
getValues
()
});
var
store
=
this
.
getAliasesList
().
getStore
();
store
.
getProxy
().
extraParams
=
Ext
.
apply
({},
Button
.
up
(
'toolbar'
).
getValues
());
store
.
reload
({
params
:
{
}
});
},
},
...
...
public/app/controller/Transports.js
View file @
73bb578
...
@@ -80,7 +80,9 @@ Ext.define('MyMA.controller.Transports', {
...
@@ -80,7 +80,9 @@ Ext.define('MyMA.controller.Transports', {
onSearch
:
function
(
Button
)
{
onSearch
:
function
(
Button
)
{
var
store
=
this
.
getTransportsList
().
getStore
();
var
store
=
this
.
getTransportsList
().
getStore
();
store
.
getProxy
().
extraParams
=
Ext
.
apply
({},
Button
.
up
(
'toolbar'
).
getValues
());
store
.
getProxy
().
extraParams
=
Ext
.
apply
({},
Button
.
up
(
'toolbar'
).
getValues
());
store
.
reload
();
store
.
reload
({
params
:
{
}
});
},
},
...
...
public/app/controller/Users.js
View file @
73bb578
...
@@ -89,7 +89,9 @@ Ext.define('MyMA.controller.Users', {
...
@@ -89,7 +89,9 @@ Ext.define('MyMA.controller.Users', {
onSearch
:
function
(
Button
)
{
onSearch
:
function
(
Button
)
{
var
store
=
this
.
getUsersList
().
getStore
();
var
store
=
this
.
getUsersList
().
getStore
();
store
.
getProxy
().
extraParams
=
Ext
.
apply
({},
Button
.
up
(
'toolbar'
).
getValues
());
store
.
getProxy
().
extraParams
=
Ext
.
apply
({},
Button
.
up
(
'toolbar'
).
getValues
());
store
.
reload
();
store
.
reload
({
params
:
{
}
});
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment