</a>
</td>
<td>
- {{if repositoryGroup.modified()}}
- <a href="#" class="btn btn-warning" data-bind="click: function(){saveRepositoryGroup(repositoryGroup)}">
+ <a href="#" class="btn btn-warning" data-bind="click: function(){saveRepositoryGroup(repositoryGroup)},css: { disabled: repositoryGroup.modified()==false }">
${$.i18n.prop('save')}
</a>
- {{/if}}
</td>
</tr>
{{/each}}
</form>
</div>
- {{if repositoryGroup.modified()}}
+
<div class="span3">
<a href="#" class="btn btn-warning" data-loading-text="${$.i18n.prop('common.loading')}"
- id="repository-group-save" data-bind="click: function(){saveRepositoryGroup(repositoryGroup)}">${$.i18n.prop('save')}</a>
+ id="repository-group-save" data-bind="click: function(){saveRepositoryGroup(repositoryGroup)},css: { disabled: repositoryGroup.modified()==false }">${$.i18n.prop('save')}</a>
</div>
<br/>
- {{/if}}
+
</div>
</script>