From: <die...@us...> - 2010-02-19 15:20:16
|
Revision: 2006 http://openutils.svn.sourceforge.net/openutils/?rev=2006&view=rev Author: diego_schivo Date: 2010-02-19 15:20:06 +0000 (Fri, 19 Feb 2010) Log Message: ----------- MEDIA-105 escape single quote in js strings Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2010-02-19 15:03:42 UTC (rev 2005) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2010-02-19 15:20:06 UTC (rev 2006) @@ -16,11 +16,18 @@ [#if this.playlist?exists] initPlaylistView({ handle: '${this.playlist.handle}', - title: '${this.playlist.title!''}', - description: '${this.playlist.description!''}', + title: '${(this.playlist.title!'')?replace("'", "\\'")}', + description: '${(this.playlist.description!'')?replace("'", "\\'")}', entries: [ [#list this.playlist.entries as entry] - ['${entry.thumbnail}', '${entry.type}', '${entry.title}', '${entry.description}', '${entry.tags}', '${entry.handle}'][#if entry_has_next],[/#if] + [ + '${entry.thumbnail}', + '${entry.type}', + '${(entry.title!'')?replace("'", "\\'")}', + '${(entry.description!'')?replace("'", "\\'")}', + '${(entry.tags!'')?replace("'", "\\'")}', + '${entry.handle}' + ][#if entry_has_next],[/#if] [/#list] ] }); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2010-02-23 15:33:12
|
Revision: 2043 http://openutils.svn.sourceforge.net/openutils/?rev=2043&view=rev Author: diego_schivo Date: 2010-02-23 15:33:06 +0000 (Tue, 23 Feb 2010) Log Message: ----------- MEDIA-105 default values Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2010-02-23 15:31:28 UTC (rev 2042) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2010-02-23 15:33:06 UTC (rev 2043) @@ -21,12 +21,12 @@ entries: [ [#list this.playlist.entries as entry] [ - '${entry.thumbnail}', - '${entry.type}', + '${entry.thumbnail!''}', + '${entry.type!''}', '${(entry.title!'')?js_string}', '${(entry.description!'')?js_string}', '${(entry.tags!'')?js_string}', - '${entry.handle}' + '${entry.handle!''}' ][#if entry_has_next],[/#if] [/#list] ], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2010-02-26 09:02:28
|
Revision: 2063 http://openutils.svn.sourceforge.net/openutils/?rev=2063&view=rev Author: diego_schivo Date: 2010-02-26 09:02:21 +0000 (Fri, 26 Feb 2010) Log Message: ----------- MEDIA-105 fix IE7 js error (comma before close brace) Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2010-02-26 09:01:42 UTC (rev 2062) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2010-02-26 09:02:21 UTC (rev 2063) @@ -32,7 +32,7 @@ ], msgs: { addEntry: '${this.msgs.get('playlist.entries.add')?js_string}', - removeEntry: '${this.msgs.get('playlist.entries.remove')?js_string}', + removeEntry: '${this.msgs.get('playlist.entries.remove')?js_string}' } }); [/#if] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2010-06-18 06:45:41
|
Revision: 2666 http://openutils.svn.sourceforge.net/openutils/?rev=2666&view=rev Author: diego_schivo Date: 2010-06-18 06:45:35 +0000 (Fri, 18 Jun 2010) Log Message: ----------- MEDIA-155 i18n Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2010-06-18 06:35:26 UTC (rev 2665) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2010-06-18 06:45:35 UTC (rev 2666) @@ -51,7 +51,6 @@ icon: contextPath + '/.resources/media/icons/ico16-add.png', iconCls: 'button-add', handler: function(){ - //parent.openWindow('.magnolia/dialogs/playlistentry.html?mgnlPath=' + playlist.handle + '&mgnlRepository=playlists'); var mgnlWin = parent.parent; mgnlWin.setNewMedia = function(nodeid, uuid, file, thumb){ Ext.Ajax.request({ @@ -287,9 +286,9 @@ function performAction(action, sourceNode, destPath){ Ext.MessageBox.show({ - title: '${this.msgs.get('playlist.entries.addMany.msgBox.title')?js_string}', - msg: '${this.msgs.get('playlist.entries.addMany.msgBox.msg')?js_string}', - progressText: '${this.msgs.get('playlist.entries.addMany.msgBox.progressStart')?js_string}', + title: playlist.msgs.addManyEntriesMsgBoxTitle, + msg: playlist.msgs.addManyEntriesMsgBoxMsg, + progressText: playlist.msgs.addManyEntriesProgressStart, width: 300, progress: true, closable: false @@ -306,7 +305,7 @@ var index = 0; var addNextEntry = function(){ if (index == items.length){ - Ext.MessageBox.updateProgress(1, '${this.msgs.get('playlist.entries.addMany.msgBox.progressEnd')?js_string}'); + Ext.MessageBox.updateProgress(1, playlist.msgs.addManyEntriesProgressEnd); (function(){ Ext.MessageBox.hide(); parent.openPlaylist(playlist.handle); @@ -321,7 +320,7 @@ }, success: function(){ var p = (index + 1) / items.length; - Ext.MessageBox.updateProgress(p, '${this.msgs.get('playlist.entries.addMany.msgBox.progress')?js_string}'.replace(/\{0\}/, parseInt(p * 100, 10) + '%')); + Ext.MessageBox.updateProgress(p, playlist.msgs.addManyEntriesProgress.replace(/\{0\}/, parseInt(p * 100, 10) + '%')); index++; addNextEntry(); } @@ -363,7 +362,12 @@ addEntry: '${this.msgs.get('playlist.entries.add')?js_string}', addEntries: '${this.msgs.get('playlist.entries.addMany')?js_string}', removeEntry: '${this.msgs.get('playlist.entries.remove')?js_string}', - editMedia: '${this.msgs.get('playlist.media.edit')?js_string}' + editMedia: '${this.msgs.get('playlist.media.edit')?js_string}', + addManyEntriesMsgBoxTitle: '${this.msgs.get('playlist.entries.addMany.msgBox.title')?js_string}', + addManyEntriesMsgBoxMsg: '${this.msgs.get('playlist.entries.addMany.msgBox.msg')?js_string}', + addManyEntriesProgressStart: '${this.msgs.get('playlist.entries.addMany.msgBox.progressStart')?js_string}', + addManyEntriesProgressEnd: '${this.msgs.get('playlist.entries.addMany.msgBox.progressEnd')?js_string}', + addManyEntriesProgress: '${this.msgs.get('playlist.entries.addMany.msgBox.progress')?js_string}' } }; initPlaylistView(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-01-13 07:25:50
|
Revision: 3223 http://openutils.svn.sourceforge.net/openutils/?rev=3223&view=rev Author: diego_schivo Date: 2011-01-13 07:25:44 +0000 (Thu, 13 Jan 2011) Log Message: ----------- PIRMEDIA-204 playlist grid drag/drop plugin: scrollable=true Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-12 18:20:45 UTC (rev 3222) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-13 07:25:44 UTC (rev 3223) @@ -127,7 +127,9 @@ }); } - var dd = new Ext.ux.dd.GridDragDropRowOrder({}); + var dd = new Ext.ux.dd.GridDragDropRowOrder({ + scrollable: true + }); var playlistForm = new Ext.FormPanel({ items: { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-01-13 07:47:23
|
Revision: 3224 http://openutils.svn.sourceforge.net/openutils/?rev=3224&view=rev Author: diego_schivo Date: 2011-01-13 07:47:17 +0000 (Thu, 13 Jan 2011) Log Message: ----------- PIRMEDIA-204 autoScroll=false to force overflow=hidden on iframe containing the playlist grid Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-13 07:25:44 UTC (rev 3223) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-13 07:47:17 UTC (rev 3224) @@ -193,6 +193,7 @@ frame: true, labelAlign: 'left', layout: 'column', + autoScroll : false, items: [{ columnWidth: 0.6, layout: 'fit', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-01-13 07:49:58
|
Revision: 3225 http://openutils.svn.sourceforge.net/openutils/?rev=3225&view=rev Author: diego_schivo Date: 2011-01-13 07:49:52 +0000 (Thu, 13 Jan 2011) Log Message: ----------- PIRMEDIA-204 comments Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-13 07:47:17 UTC (rev 3224) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-13 07:49:52 UTC (rev 3225) @@ -128,7 +128,7 @@ } var dd = new Ext.ux.dd.GridDragDropRowOrder({ - scrollable: true + scrollable: true // auto-scroll for easy moving an item in a long playlist }); var playlistForm = new Ext.FormPanel({ @@ -193,7 +193,7 @@ frame: true, labelAlign: 'left', layout: 'column', - autoScroll : false, + autoScroll : false, // avoid showing scrollbars when dragging a playlist's item down items: [{ columnWidth: 0.6, layout: 'fit', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-01-13 08:28:44
|
Revision: 3227 http://openutils.svn.sourceforge.net/openutils/?rev=3227&view=rev Author: diego_schivo Date: 2011-01-13 08:28:38 +0000 (Thu, 13 Jan 2011) Log Message: ----------- PIRMEDIA-204 overflow=hidden on body to avoid scrollbars on IE8 Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-13 08:15:58 UTC (rev 3226) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-13 08:28:38 UTC (rev 3227) @@ -378,7 +378,7 @@ //]]> </script> </head> - <body> + <body style="overflow: hidden;"> <div style="display: none;"> <form id="addEntryForm" method="POST" action="${this.request.contextPath}/.magnolia/dialogs/playlistentry.html" enctype="multipart/form-data"> <input type="hidden" name="mgnlDialog" value="playlistentry" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-01-21 09:23:30
|
Revision: 3254 http://openutils.svn.sourceforge.net/openutils/?rev=3254&view=rev Author: diego_schivo Date: 2011-01-21 09:23:23 +0000 (Fri, 21 Jan 2011) Log Message: ----------- PIRMEDIA-201 playlist language chooser Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-21 09:12:12 UTC (rev 3253) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-21 09:23:23 UTC (rev 3254) @@ -190,6 +190,10 @@ }); var detailItems = [ + { + xtype: 'panel', + html: '<select name="x" style="float: right;" onchange="location.href = location.href + \'&locale=\' + this.options[this.selectedIndex].value;"><option value="en">en</option><option value="it">it</option></select>' + }, playlistForm [#list mediaEl.module().playlistLinks as item] [#assign itemText = this.msgs.get(item.text)] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-01-21 10:05:22
|
Revision: 3255 http://openutils.svn.sourceforge.net/openutils/?rev=3255&view=rev Author: diego_schivo Date: 2011-01-21 10:05:15 +0000 (Fri, 21 Jan 2011) Log Message: ----------- PIRMEDIA-201 i18n locales Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-21 09:23:23 UTC (rev 3254) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-21 10:05:15 UTC (rev 3255) @@ -2,6 +2,7 @@ [#setting url_escaping_charset="UTF-8"] [#assign mgnlEl = this.getStatic("it.openutils.mgnlutils.el.MgnlUtilsElFunctions")] [#assign mediaEl = this.getStatic("net.sourceforge.openutils.mgnlmedia.media.tags.el.MediaEl")] +[#assign i18nFactory = this.getStatic("info.magnolia.cms.i18n.I18nContentSupportFactory")] <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <link rel="stylesheet" type="text/css" href="${this.request.contextPath}/.resources/ext/css/ext-all.css" /> @@ -192,7 +193,11 @@ var detailItems = [ { xtype: 'panel', - html: '<select name="x" style="float: right;" onchange="location.href = location.href + \'&locale=\' + this.options[this.selectedIndex].value;"><option value="en">en</option><option value="it">it</option></select>' + html: '<select style="float: right;" onchange="location.href = \'${this.request.contextPath}/.magnolia/pages/playlistView.html?path=\' + playlist.handle + \'&mgnlCK=\' + (new Date()).getTime() + \'&locale=\' + this.options[this.selectedIndex].value;">\ + [#list i18nFactory.getI18nSupport().getLocales() as locale] + <option value="${locale.language}" [#if locale.language == this.locale!'']selected="selected"[/#if]>${locale.language}</option>\ + [/#list] + </select>' }, playlistForm [#list mediaEl.module().playlistLinks as item] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-01-21 13:40:46
|
Revision: 3257 http://openutils.svn.sourceforge.net/openutils/?rev=3257&view=rev Author: diego_schivo Date: 2011-01-21 13:40:40 +0000 (Fri, 21 Jan 2011) Log Message: ----------- PIRMEDIA-201 fallback locale Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-21 10:08:40 UTC (rev 3256) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-21 13:40:40 UTC (rev 3257) @@ -2,7 +2,7 @@ [#setting url_escaping_charset="UTF-8"] [#assign mgnlEl = this.getStatic("it.openutils.mgnlutils.el.MgnlUtilsElFunctions")] [#assign mediaEl = this.getStatic("net.sourceforge.openutils.mgnlmedia.media.tags.el.MediaEl")] -[#assign i18nFactory = this.getStatic("info.magnolia.cms.i18n.I18nContentSupportFactory")] +[#assign i18nSupport = this.getStatic("info.magnolia.cms.i18n.I18nContentSupportFactory").getI18nSupport()] <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <link rel="stylesheet" type="text/css" href="${this.request.contextPath}/.resources/ext/css/ext-all.css" /> @@ -194,8 +194,8 @@ { xtype: 'panel', html: '<select style="float: right;" onchange="location.href = \'${this.request.contextPath}/.magnolia/pages/playlistView.html?path=\' + playlist.handle + \'&mgnlCK=\' + (new Date()).getTime() + \'&locale=\' + this.options[this.selectedIndex].value;">\ - [#list i18nFactory.getI18nSupport().getLocales() as locale] - <option value="${locale.language}" [#if locale.language == this.locale!'']selected="selected"[/#if]>${locale.language}</option>\ + [#list i18nSupport.getLocales() as locale] + <option value="${locale.language}" [#if (this.locale?exists && locale?string == this.locale) || (!this.locale?exists && locale == i18nSupport.fallbackLocale)]selected="selected"[/#if]>${locale.language}</option>\ [/#list] </select>' }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-02-01 08:33:27
|
Revision: 3297 http://openutils.svn.sourceforge.net/openutils/?rev=3297&view=rev Author: diego_schivo Date: 2011-02-01 08:33:20 +0000 (Tue, 01 Feb 2011) Log Message: ----------- MEDIA-212 locale is not only language: country might be also specified Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-01-28 16:23:02 UTC (rev 3296) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-02-01 08:33:20 UTC (rev 3297) @@ -195,7 +195,7 @@ xtype: 'panel', html: '<select style="float: right;" onchange="location.href = \'${this.request.contextPath}/.magnolia/pages/playlistView.html?path=\' + playlist.handle + \'&mgnlCK=\' + (new Date()).getTime() + \'&locale=\' + this.options[this.selectedIndex].value;">\ [#list i18nSupport.getLocales() as locale] - <option value="${locale.language}" [#if (this.locale?exists && locale?string == this.locale) || (!this.locale?exists && locale == i18nSupport.fallbackLocale)]selected="selected"[/#if]>${locale.language}</option>\ + <option value="${locale?string}" [#if (this.locale?exists && locale?string == this.locale) || (!this.locale?exists && locale == i18nSupport.fallbackLocale)]selected="selected"[/#if]>${locale?string}</option>\ [/#list] </select>' }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-02-01 08:45:30
|
Revision: 3298 http://openutils.svn.sourceforge.net/openutils/?rev=3298&view=rev Author: diego_schivo Date: 2011-02-01 08:45:24 +0000 (Tue, 01 Feb 2011) Log Message: ----------- MEDIA-212 display labels in the same way Magnolia does on the select for website editing, so "English" and "Italiano" instead of "it"/"en" Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-02-01 08:33:20 UTC (rev 3297) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-02-01 08:45:24 UTC (rev 3298) @@ -195,7 +195,7 @@ xtype: 'panel', html: '<select style="float: right;" onchange="location.href = \'${this.request.contextPath}/.magnolia/pages/playlistView.html?path=\' + playlist.handle + \'&mgnlCK=\' + (new Date()).getTime() + \'&locale=\' + this.options[this.selectedIndex].value;">\ [#list i18nSupport.getLocales() as locale] - <option value="${locale?string}" [#if (this.locale?exists && locale?string == this.locale) || (!this.locale?exists && locale == i18nSupport.fallbackLocale)]selected="selected"[/#if]>${locale?string}</option>\ + <option value="${locale?string}" [#if (this.locale?exists && locale?string == this.locale) || (!this.locale?exists && locale == i18nSupport.fallbackLocale)]selected="selected"[/#if]>${locale.getDisplayLanguage(locale)}</option>\ [/#list] </select>' }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <die...@us...> - 2011-02-16 17:18:48
|
Revision: 3340 http://openutils.svn.sourceforge.net/openutils/?rev=3340&view=rev Author: diego_schivo Date: 2011-02-16 17:18:42 +0000 (Wed, 16 Feb 2011) Log Message: ----------- MEDIA-218 fix js error Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-02-16 17:17:21 UTC (rev 3339) +++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.html 2011-02-16 17:18:42 UTC (rev 3340) @@ -291,7 +291,8 @@ }); }); grid.getSelectionModel().on('selectionchange', function(sm){ - Ext.getCmp('removeEntryBtn').setDisabled(sm.getCount() < 1); + var removeEntryBtn = Ext.getCmp('removeEntryBtn'); + if (removeEntryBtn) removeEntryBtn.setDisabled(sm.getCount() < 1); Ext.getCmp('editMediaBtn').setDisabled(sm.getCount() < 1); }); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |