);
}
- //I'm not sure how this can work, it assumes the search is in a proper state?
- if (mkdru.state.recid) {
- mkdru.pz2.record(mkdru.state.recid);
- }
- //mkdru.onInit deals with this in a more proper way
- else if (mkdru.state.query) {
- mkdru.search();
- }
+ //i'm not sure how this can work, does it assume the results set is active?
+ //what if no search has been executed?
+ //if (mkdru.state.recid) {
+ // mkdru.pz2.record(mkdru.state.recid);
+ //}
+ //'mkdru.onInit/ deals with the following properly
+ /// -- waiting for Pz2/SP to init first
+ //else if (mkdru.state.query) {
+ // mkdru.search();
+ //}
});