Change input item options handling in the lua http interface. Fixes normal playlist...
[vlc.git] / share / lua / http / dialogs / sout
index d8a64d5..0760f04 100644 (file)
@@ -33,15 +33,15 @@ Note that the sout chain is used and sent to VLC by the input dialog
     <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('sout');"/>
   </div>
   <div class="controls">
-    <label for="sout_mrl">Destination (MRL)</label>
+    <label for="sout_mrl">Destination</label>
     <?vlc if current_page == "vlm" then ?>
-      <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_output_change();"/>
+      <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_output_change();" disabled="disabled" />
       <br/>
       <input type="button" value="Ok" onclick="vlm_output_change();" />
       <input type="button" value="Cancel" onclick="hide('sout');" />
       <input type="hidden" id="sout_dest" />
     <?vlc else ?>
-      <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) save_sout();" />
+      <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) save_sout();" disabled="disabled" />
       <br/>
       <input type="button" value="Save" onclick="save_sout();" />
     <?vlc end ?>