Commits

Luke Plant  committed a054187

Made semanticeditor widget more like the one it is copied from.

  • Participants
  • Parent commits 227b56d

Comments (0)

Files changed (1)

File semanticeditor/templates/semanticeditor/editorwidget.html

         updateSelector: 'input[type=submit],',
         updateEvent: 'click',
         postInit: function(wym) {
-            wym.resizable({handles: "s", maxHeight: 600});
+            //wym.resizable({handles: "s", maxHeight: 600});
             //construct the button's html
             html = "<li class='wym_tools_pagelink'>"
                  + "<a name='PageLink' href='#'"
                  + " title='Page link'"
-                 + " style='background-image:"
-                 + " url({{ SE_MEDIA_URL }}javascript/wymeditor/skins/semanticeditor/icons.png);"
-                 + " background-position-y: -623px;'>"
+                 + " style='float_right; background-image: url({{ CMS_MEDIA_URL }}javascript/wymeditor/skins/django/icons.png); background-position-y: -623px;'>"
                  + "Page link"
                  + "</a></li>";
-
             //add the button to the tools box
             jQuery(wym._box)
             .find(wym._options.toolsSelector + wym._options.toolsListSelector)
                     wym.insert('<a href="' + href + '" title="' + title + '">' + title + '</a>');
                     wdw.close();
                 });
-        },
+        }
     });
     </script>