aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-12 01:25:31 +0100
committerSem <sembrestels@riseup.net>2011-11-12 01:25:31 +0100
commit4585e371857636c1dece9978fba65d978a3afc78 (patch)
treebff1912db02892344bd03d42be5f54dfcfbc547a /views/default
parent9b176145bc10850e02b8602bb670d6832945ea83 (diff)
downloadelgg-4585e371857636c1dece9978fba65d978a3afc78.tar.gz
elgg-4585e371857636c1dece9978fba65d978a3afc78.tar.bz2
Refactored video savings to permit change title and description when editing and avoid to change url.
Diffstat (limited to 'views/default')
-rw-r--r--views/default/forms/videolist/edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/forms/videolist/edit.php b/views/default/forms/videolist/edit.php
index 8bbbcffb7..18fb6ded4 100644
--- a/views/default/forms/videolist/edit.php
+++ b/views/default/forms/videolist/edit.php
@@ -10,6 +10,8 @@ $variables = elgg_get_config('videolist');
if(empty($vars['guid'])){
unset($variables['title']);
unset($variables['description']);
+} else {
+ unset($variables['video_url']);
}
foreach ($variables as $name => $type) {