changeset 1679:d880379b6a01

Fix broken "Link to Subitem" and "Transclude Subitem" buttons on +modify view.
author Cheer Xiao <xiaqqaix@gmail.com>
date Wed, 15 Aug 2012 22:18:05 +0800
parents 51e1e8b0b7f2
children 36293fcaffbf
files MoinMoin/templates/common.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/common.js	Tue Aug 14 00:40:43 2012 +0800
+++ b/MoinMoin/templates/common.js	Wed Aug 15 22:18:05 2012 +0800
@@ -308,7 +308,7 @@
             "text/plain" : function (x) {return x + " "; }
         },
         ctype = guessContentType(),
-        input_element = $("#f_data_text"),
+        input_element = $("#f_content_form_data_text"),
         ctype_format = transclude_formats[ctype];
     if (!ctype_format) {
         ctype_format = transclude_formats["text/plain"];
@@ -340,7 +340,7 @@
             "text/plain" : function (x) {return x + " "; }
         },
         ctype = guessContentType(),
-        input_element = $("#f_data_text"),
+        input_element = $("#f_content_form_data_text"),
         ctype_format = link_formats[ctype];
     if (!ctype_format) {
         ctype_format = link_formats["text/plain"];