function updateDetails() {
  $.getJSON(window.location + 'details', {
    dag: _store.dag,
    id: _store.id
  }, function (data) {
    if (data.length > 0) {
      _store.owner = data[0].owner;
    }
    DetailViewStore.emit(DETAILS_UPDATE_EVENT);
  });
}
// Fires of an Ajax get request to the server to get metadata on current thing
Fires of an Ajax get request to the server to get metadata on current thing
Fires of an Ajax get request to the server to get metadata on current thing
function updateDetails() {
  $.getJSON(window.location + 'details', {
    dag: _store.dag,
    id: _store.id
  }, function (data) {
    if (data.length > 0) {
      _store.owner = data[0].owner;
    }
    DetailViewStore.emit(DETAILS_UPDATE_EVENT);
  });
}
function updateDetails ( ) { $ . getJSON ( window . location + 'details' , { dag : _store . dag , id : _store . id } , function ( data ) { if ( data . length > 0 ) { _store . owner = data [ 0 ] . owner ; } DetailViewStore . emit ( DETAILS_UPDATE_EVENT ) ; } ) ; }
Fires of an Ajax get request to the server to get metadata on current thing
Fires of an Ajax get request to the server to get metadata on current thing