daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // sync only for dojo/store/Memory
  2. var store = filteringSelect1.store;
  3. filteringSelect1.set("value", store.getIdentity(store.data[0]));
  4.    
  5. when(store.query(function(item, index, items) {
  6.     return index == 0;
  7. }), function(results) {
  8.     filteringSelect2.set("value", store.getIdentity(results[0]));
  9. });
  10.    
  11. restStore.query({ index: 0 }).then(function(item) {
  12.     filteringSelect1.set("value", restStore.getIdentity(item));  
  13. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top