Updates the JS to remove unneeded services injected in
Updates view to be simpler if statement - that by having something set to it then we can show the UI
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* @name umbraco.resources.languageResource
|
||||
* @description Handles retrieving and updating language data
|
||||
**/
|
||||
function languageResource($q, $http, umbRequestHelper) {
|
||||
function languageResource($http, umbRequestHelper) {
|
||||
return {
|
||||
|
||||
getCultures: function() {
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<umb-box ng-if="!vm.loading" class="block-form">
|
||||
<umb-box-content>
|
||||
|
||||
<umb-control-group label="@general_language" ng-if="vm.availableCultures != null">
|
||||
<umb-control-group label="@general_language" ng-if="vm.availableCultures">
|
||||
<select name="newLang"
|
||||
class="input-block-level"
|
||||
ng-model="vm.language.culture"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
(function () {
|
||||
"use strict";
|
||||
|
||||
function LanguagesOverviewController($timeout, $location, notificationsService, localizationService, languageResource) {
|
||||
function LanguagesOverviewController($location, notificationsService, localizationService, languageResource) {
|
||||
|
||||
var vm = this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user