File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,9 @@ CloudPebble.Settings = (function() {
265265 uuid_field . trigger ( "change" ) ;
266266 } ) ;
267267
268+ // Resetting the form ensures that the values are correctly set when Chrome restores the page after quitting the browser
269+ pane . find ( 'form' ) [ 0 ] . reset ( ) ;
270+
268271 live_form . init ( ) ;
269272
270273 CloudPebble . Sidebar . SetActivePane ( pane , 'settings' ) ;
Original file line number Diff line number Diff line change 77 < div class ="control-group ">
88 < label class ="control-label " for ="settings-name "> {% trans 'Project name' %}</ label >
99 < div class ="controls ">
10- < input type ="text " id ="settings-name ">
10+ < input type ="text " id ="settings-name " value =" {{ project.name }} " >
1111 </ div >
1212 </ div >
1313 < div class ="sdk-version native-only control-group ">
14- < label class ="control-label " for ="settings-sdk-version "> {% trans "SDK Version" %}</ label >
14+ < label class ="control-label " for ="settings-sdk-version "> {% trans "SDK Version" %} {{ project.sdk_version }} </ label >
1515 < div class ="controls ">
1616 < select id ="settings-sdk-version ">
1717 < option value ="2 " {% if project.sdk_version == '2 ' %}selected{% endif %} > {% trans 'SDK 2 (Pebble, Pebble Steel)' %}</ option >
You can’t perform that action at this time.
0 commit comments