Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
webui config: remove unused javascript code
  • Loading branch information
perexg committed Sep 14, 2015
1 parent e4aa091 commit 0bdabd4
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions src/webui/static/app/config.js
@@ -1,61 +1,9 @@
// Store: config languages
tvheadend.languages = new Ext.data.JsonStore({
autoLoad: true,
root: 'entries',
fields: ['identifier', 'name'],
id: 'identifier',
url: 'languages',
baseParams: {
op: 'list'
}
});

// Store: all languages
tvheadend.config_languages = new Ext.data.JsonStore({
autoLoad: true,
root: 'entries',
fields: ['identifier', 'name'],
id: 'identifier',
url: 'languages',
baseParams: {
op: 'config'
}
});

tvheadend.languages.setDefaultSort('name', 'ASC');

/*
tvheadend.comet.on('config', function(m) {
if (m.reload != null) {
tvheadend.languages.reload();
tvheadend.config_languages.reload();
}
});
*/

/*
* Base configuration
*/

tvheadend.baseconf = function(panel, index) {

/*
var language = new Ext.ux.ItemSelector({
name: 'language',
fromStore: tvheadend.languages,
toStore: tvheadend.config_languages,
fieldLabel: _('Default Language(s)'),
dataFields: ['identifier', 'name'],
msWidth: 190,
msHeight: 150,
valueField: 'identifier',
displayField: 'name',
imagePath: 'static/multiselect/resources',
toLegend: _('Selected'),
fromLegend: _('Available')
});
*/

tvheadend.idnode_simple(panel, {
url: 'api/config',
title: _('Base'),
Expand Down

0 comments on commit 0bdabd4

Please sign in to comment.