Fix editing address lists in the Settings dialog.

Setting "Sync Protocol Listen Addresses" and "Global Discovery
Server" in the Settings dialog does not work.  This bug seems to
have been introduced in 26d52be.
This commit is contained in:
KAMADA Ken'ichi 2015-08-09 15:52:22 +09:00
parent 9eb4089710
commit 3f3b2f4c99
2 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@
</div>
<div class="form-group">
<label translate for="ListenAddressStr">Sync Protocol Listen Addresses</label>
<input id="ListenAddressStr" class="form-control" type="text" ng-model="tmpOptions.listenAddressStr">
<input id="ListenAddressStr" class="form-control" type="text" ng-model="tmpOptions._listenAddressStr">
</div>
<div class="form-group">
<label translate for="MaxRecvKbps">Incoming Rate Limit (KiB/s)</label>
@ -59,7 +59,7 @@
</div>
<div class="form-group">
<label translate for="GlobalAnnServersStr">Global Discovery Server</label>
<input ng-disabled="!tmpOptions.globalAnnounceEnabled" id="GlobalAnnServersStr" class="form-control" type="text" ng-model="tmpOptions.globalAnnounceServersStr">
<input ng-disabled="!tmpOptions.globalAnnounceEnabled" id="GlobalAnnServersStr" class="form-control" type="text" ng-model="tmpOptions._globalAnnounceServersStr">
</div>
</div>

View File

@ -5,7 +5,7 @@ import (
)
const (
AssetsBuildDate = "Sat, 08 Aug 2015 11:46:35 GMT"
AssetsBuildDate = "Sun, 09 Aug 2015 06:51:37 GMT"
)
func Assets() map[string][]byte {
@ -97,7 +97,7 @@ func Assets() map[string][]byte {
assets["syncthing/settings/advancedSettingsModalView.html"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/9xYTW/jNhC991fMskV3F6hiFMihaG0D2wW2zamHbU9FD5Q4lolQpEBSRlQj/70jkVIkWcpHvQjcBkhCkY8zbx5Hz5JhLeQBpNgwLg5cZygYZIo7t2GFEVzBjgtk4HkqtcC7DUu+Z9uvgH7ajUNoIiRXJodwofKIm0NmRnvUvkfMYfZImS1whdaHv4ngOkc72EX79tfgLddOcY/jAF56hWz7IdYFH43eybyy3Euj16v99SD7itI/RiY1oqa8w8R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0rMSy/NSSzSy81PKc1J1VAvrsxLLsnIzEvXK04tKQHSxeo6CtGxmtZcAAAAAP//AQAA//8SD9KcKgAAAA==")
assets["syncthing/settings/settingsModalDirective.js"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/1SOv86DMAzEd54im0FCYf+Yvgfo2O4RuGDJSSrHaVVVvHtD/6Byi6X7nX12YcrsxPo4ZsYa0j0MOlOYbELVMhM0lSmyIwkOStc19EGHODqG1pxzWaIYTN2Yxyu9SlCzhB/jbSYVGvTPwD+0O6ToL+wUj8KFbo9037au2/WeCG92Vs+wXVn6amn66gkAAP//AQAA///Um4Jx1AAAAA==")
assets["syncthing/settings/settingsModalView.html"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/9xY227jNhB971dMWaBIHrxGgUVfahvIdos2SNo14vgDKGksE6FIgaTsGLv77x3qFsmSr4nbxT4kljjXc4YajjSKxApENGYWnRMqtgxCya0ds0RHXMKCR8jA8UCoCJ/HbPALm/yQGzXVBpHgUsdQ3MiYdAC6WqFWDpXLpX3yJVI0U4pJYfkenOHKSu6wremEk8gmszLp0XD5vnQ6JK+7/Ac62rx4X2iTgNESx8xf1oK2pdFrktSitjDUcpBEg18bttsq3vUgNjpLt5RITfIAZQMi6Y7ZR1yJEP/hCeErrsHfjIa5dseHUGnm8go2DFvBPesEk6q4SQmrw2fHQMUD4gQl3Sfpp9QJrey7qBG6DeiF1TfBeC8sbYSbKDJo7cxRyWcbFcLUaKeJUyjkUCqgPQy+4/FMCmQns4sS8Td/fsBwdReklk1uVagT2s7w4OX3IhEOru7Eh6G9PkxA09M+7CpLAnrG+tEnzXQuDXyGKioifcpcrF8BvPb0GuAv6ZwCfEcHOJqdLW9LDJ8C/dyjVhHZJ2nxMZ+q6R+KBxKjCnrtth98lqq0spjAyKZcvZRrUkjAux0Nvaw3t/4y9dK3a/H/IuxPqQMub5Q6jbW4MtOZCnE3f4V7+ChsqFdoNhck8Vvbq544sRizLI0Nney3aqF7tVvluMmcnhcGpxWEdw271fDeE+5ECGVS9vvc1Pc6PGNPy9LqwJbOnX8LO/rkY6d+1mdoKPXihN9+QqEQ7j96iL9I2JyhMfvxYF9od5pG9DPnlHaUJpr9/JUL/+E8W85SRPP89ozBrjI/kScK9o5XkS+6pebWv7J4cNRblvR6I0LuawRecBhfbn4GuMzipYfTKZmttYl60VXCwwhrN/tQprVSB2ktejO0x/Xa3Z22Xb7H+9mB9lrWyyt2myl5gL8eH6czTzqQ6q52uovpN+2ab0jNzHHjPtD7c77Djzp/bNOkS1XuEUr590LT/OHEad3smW6UVptEZ5aaD48RHjDVxn8hKcmCqxFvPOXkP5QifBozu9Tr+cPU4Erg+uqawdIgDW4/sUm5NhryyfXruW6vLQ0Mt9dOaViTDv7pLdxhNZDsyq4RYo1Sgv83sAn4TkuEK03WIbLJ58/VQZIK8gpfvgAbsK9f+4eXIHNON5Ipq1ks170vcAroz4fzPxEueCaL/l6VAh3BoHhXRfRrar+o0JDL0bDwduIZ31IYDT2tR3wsW2jtmh/jKnz7UKVGJJwGqAJhCxVfYfW1jvZXWbnSPJabdCnoRID6aqCfSKmo488qsOlvnWZAHutCt3k5KteS+jrXiDvuR7pE1BwckabBhGbGA6n+LrXtz7WuQHnR/vkXAAD//wEAAP//U6Q7gp0VAAA=")
assets["syncthing/settings/settingsModalView.html"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/9xYS2/jNhC+91dMWaBIDl6jwKKX2gay3aINknYNOz4XlDSWiVCkQFJ2jN397x1aj0iW/EzcXeSQWOI8v2+o4UiDSCxBRENm0TmhYssglNzaIUt0xCXMeYQMHA+EivBpyHq/sNEPG6O6Wi8SXOoY8hsZkw5AWyvUyqFyG2mXfIEUzRRiUli8B2e4spI7bGo64SSy0bRIetBfvC+c9snrLv+BjtbP3ufaJGC0xCHzl5WgaWn0iiSVqCkMtewlUe/Xmu22infdi43O0i0lUpM8QFmDSLpD9hGXIsR/eEL48mvwN4P+RrvlQ6g0c5sK1gwbwT3rBJOquE4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oding.DecodeString("H4sIAAAJbogA/1yOsc7CMAyE9z5FtrRSle5/p39hY4Q9atzWkusgxwEh1HcngKiAGzzc+ezP85TJi1tiyAS1TVcedEaenIrnNILYpjJFLqDAoHguS6NHgrArI+1j8GRbM+bSw8imbsztWXhIQLPwh/EykwoO+mfsv22/IoXlRF7hIFTSjaV7s3Td7+sjwsXNupDdDq19tTZ9dQcAAP//AQAA//8J5Gm82gAAAA==")
assets["syncthing/transfer/failedFilesModalView.html"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/3yUQW/bPgzF7/0UhP6HtkBd9z+gl8H2JdiAXYYC223YgbYZW5gsGZScNEvz3UfJdtNhyy4OHZFPj78XpBhciwZ0W6otakOtAoPcUakO5BX4gGHypdojW207BbpxtlT03BgcMGhnM687q6Axzq9DQQcj9fF4/TFJwqdAg7+GFwiM1hsMdDqp6gqgGONTPv2I9nxafe0Jts4Yt5dLQcdxaNxkWrAuQE3gD7bp2Vn9k9r7Io/jF5UOgEzAFFiLF5yCi84bNEZObAt7bcyqKQ37nkRADBCzY9BeRr0zu98uKvLkvAhYG5Ll0Quk+SU9My+3jaI2vwm0lqwXuovLwNBqzkbstBWbQhS0hTmBzcRMNgiutPgT8RN29H45jfUXWVuQz31RhNb0ltnYpGBRjyG9yXd2ED20VYF1zee86H7E0Mds1lpM1OjJ4iCRFXlsr4pcJv8lksCtKjPFF/lV+fAh1hs3jM6Kyb8ISsUz3sQtlW84xU0EZWBnPEgdN8+aHu0ZQNx8k75pbyzt4+vnaaiJby/yKPILV6TrJ7PGe+6AcTImY931YQ3UaLBdxjQShlK5MbVJpN/+f7iDd4938PjwXcWWRewI2AS9+yNWKEtYpk/nqBB6pm2p/lskdPPjNfG07Dp+M8/eRvZzmSi/mpzhTmYhu1t3awwhb/XzTGNXXRV5+mOorn4BAAD//wEAAP//SRqHeiEEAAA=")
assets["syncthing/transfer/module.js"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/0rMSy/NSSzSy81PKc1J1VAvrsxLLsnIzEvXKylKzCtOSy1S11GIjtW05gIAAAD//wEAAP//adVjnSoAAAA=")