YARN-2238. Filtering on UI sticks even if I move away from the page.
Contributed by Jian He
(cherry picked from commit 39077dba2e
)
This commit is contained in:
parent
f70b9d9241
commit
84245ff3b2
|
@ -514,6 +514,9 @@ Release 2.7.1 - UNRELEASED
|
|||
YARN-3701. Isolating the error of generating a single app report when
|
||||
getting all apps from generic history service. (Zhijie Shen via xgong)
|
||||
|
||||
YARN-2238. filtering on UI sticks even if I move away from the page.
|
||||
(Jian He via xgong)
|
||||
|
||||
Release 2.7.0 - 2015-04-20
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -114,7 +114,11 @@ public class JQueryUI extends HtmlBlock {
|
|||
String defaultInit = "{bJQueryUI: true, sPaginationType: 'full_numbers'}";
|
||||
String stateSaveInit = "bStateSave : true, " +
|
||||
"\"fnStateSave\": function (oSettings, oData) { " +
|
||||
"sessionStorage.setItem( oSettings.sTableId, JSON.stringify(oData) ); }, " +
|
||||
" data = oData.aoSearchCols;"
|
||||
+ "for(i =0 ; i < data.length; i ++) {"
|
||||
+ "data[i].sSearch = \"\""
|
||||
+ "}"
|
||||
+ " sessionStorage.setItem( oSettings.sTableId, JSON.stringify(oData) ); }, " +
|
||||
"\"fnStateLoad\": function (oSettings) { " +
|
||||
"return JSON.parse( sessionStorage.getItem(oSettings.sTableId) );}, ";
|
||||
|
||||
|
|
Loading…
Reference in New Issue