mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Removed unused optionEditor
directive from app.js
This commit is contained in:
parent
af2831d7b6
commit
0c09f077aa
12
gui/app.js
12
gui/app.js
@ -1064,18 +1064,6 @@ syncthing.filter('basename', function () {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
syncthing.directive('optionEditor', function () {
|
|
||||||
return {
|
|
||||||
restrict: 'C',
|
|
||||||
replace: true,
|
|
||||||
transclude: true,
|
|
||||||
scope: {
|
|
||||||
setting: '=setting',
|
|
||||||
},
|
|
||||||
template: '<input type="text" ng-model="config.Options[setting.id]"></input>',
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
syncthing.directive('uniqueRepo', function() {
|
syncthing.directive('uniqueRepo', function() {
|
||||||
return {
|
return {
|
||||||
require: 'ngModel',
|
require: 'ngModel',
|
||||||
|
Loading…
Reference in New Issue
Block a user