Olemis Lang avatar Olemis Lang committed 598951d

Ooops ! Corrupted message

Comments (0)

Files changed (1)

t5437/t5437-protocol_api-r7194.diff

      package_data={
 -        'tracrpc': ['templates/*.html']
 +        'tracrpc': ['templates/*.html', 'htdocs/js/*.js', \
-+                    'htdocs/css/*.css']
++                    'htdocs/css/no-theme/*.css', 'htdocs/css/no-theme/images/*']
          },
      entry_points={
          'trac.plugins': 'TracXMLRPC = tracrpc'
  class AbstractRPCHandler(Component):
      implements(IXMLRPCHandler)
      abstract = True
-diff --git a/trunk/tracrpc/htdocs/css/rpc.css b/trunk/tracrpc/htdocs/css/rpc.css
+diff --git a/trunk/tracrpc/htdocs/rpc.css b/trunk/tracrpc/htdocs/rpc.css
 new file mode 100644
 --- /dev/null
-+++ b/trunk/tracrpc/htdocs/css/rpc.css
++++ b/trunk/tracrpc/htdocs/rpc.css
 @@ -0,0 +1,11 @@
 +#rpc-toc {
 +    display: none;
 +    padding: 0.3em 0.15em;;
 +    list-style-type: none;
 +}
-diff --git a/trunk/tracrpc/htdocs/js/rpc.js b/trunk/tracrpc/htdocs/js/rpc.js
+diff --git a/trunk/tracrpc/htdocs/rpc.js b/trunk/tracrpc/htdocs/rpc.js
 new file mode 100644
 --- /dev/null
-+++ b/trunk/tracrpc/htdocs/js/rpc.js
++++ b/trunk/tracrpc/htdocs/rpc.js
 @@ -0,0 +1,20 @@
 +(function($) {
 +    $(document).ready(function () {
 +                raise Exception('%s: %s\n%s' % (method.name,
 +                                                str(e), out.getvalue()))
 +        add_stylesheet(req, 'common/css/wiki.css')
-+        add_stylesheet(req, 'tracrpc/css/rpc.css')
-+        add_script(req, 'tracrpc/js/rpc.js')
++        add_stylesheet(req, 'tracrpc/rpc.css')
++        add_script(req, 'tracrpc/rpc.js')
 +        self._rpc_ctxtnav(req)
 +        try:
 +            # Paths of the form `/rpc/<pageid>`
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.