1. Tino de Bruijn
  2. pachube-mobile

Commits

Tino de Bruijn  committed 7d8e39b

go to settings when not set

  • Participants
  • Parent commits cdc6cf0
  • Branches default

Comments (0)

Files changed (1)

File js/script.js

View file
         var user_id = $.storage.get('user_id');
         
         if(!(api_key && user_id)) {
-            alert('set user id and api key first!');
+            $.mobile.changePage('#settings');
+            alert('Please set your api key and user id');
             return
         }