function checkIfPushingDummySuggestionPossible() {
  pageHandler.isPushingDummySuggestionPossible().then(function(response) {
    $('push-dummy-suggestion').disabled = !response.result;
  });
}
/* Check if pushing dummy suggestions is possible. */
Check if pushing dummy suggestions is possible.
Check if pushing dummy suggestions is possible .
function checkIfPushingDummySuggestionPossible() {
  pageHandler.isPushingDummySuggestionPossible().then(function(response) {
    $('push-dummy-suggestion').disabled = !response.result;
  });
}
function checkIfPushingDummySuggestionPossible ( ) { pageHandler . isPushingDummySuggestionPossible ( ) . then ( function ( response ) { $ ( 'push-dummy-suggestion' ) . disabled = ! response . result ; } ) ; }
Check if pushing dummy suggestions is possible.
Check if pushing dummy suggestions is possible .