~vthompson/ubuntu-weather-app/reboot-network-error-state

« back to all changes in this revision

Viewing changes to app/ubuntu-weather-app.qml

  • Committer: Victor Thompson
  • Date: 2015-09-03 22:55:17 UTC
  • Revision ID: victor.thompson@gmail.com-20150903225517-0e9hljxxoqemyaqk
Check against error being undefined

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
             console.log(messageObject.error.msg+" / "+messageObject.error.request.url)
92
92
         }
93
93
 
94
 
         networkError = messageObject.error
 
94
         networkError = messageObject.error !== undefined
95
95
     }
96
96
 
97
97
    /* Fill the location pages with their data. */