Permalink
Browse files

Removed Jquery Plugin

  • Loading branch information...
1 parent 5f41728 commit 42b48ca2c0c73ba1f072250a2d93dfa8c619da13 @himanshuseth himanshuseth committed Sep 20, 2010
@@ -6,7 +6,7 @@ class FileViewerGrailsPlugin {
// the version or versions of Grails the plugin is designed for
def grailsVersion = "1.3.3 > *"
// the other plugins this plugin depends on
- def dependsOn = ['jquery': '1.4.2.5 > *']
+ def dependsOn = [:]
// resources that are excluded from plugin packaging
def pluginExcludes = [
View
@@ -1,7 +1,6 @@
#Grails Metadata file
-#Wed Sep 08 16:58:21 IST 2010
+#Mon Sep 20 13:01:44 IST 2010
app.grails.version=1.3.3
app.name=fileViewer
plugins.hibernate=1.3.3
-plugins.jquery=1.4.2.5
plugins.tomcat=1.3.3
@@ -2,7 +2,6 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="layout" content="none"/>
- <g:javascript library="jquery" plugin="jquery" />
<title>File List</title>
</head>
<body>
@@ -15,26 +14,5 @@
<g:render template="/file/fileDetails" model="[fileContents: fileContents, filePath: filePath]" plugin='fileViewer'/>
</div>
</div>
-<script type="text/javascript">
- function bindOnClick() {
- jQuery(".showReportLink").click(function() {
- var url = jQuery(this).attr('href');
- var element = jQuery(this);
- jQuery.get(url, {}, function(data) {
- if (data.message) {
- if (data.isFile) {
- jQuery("#right-container").html(data.message);
- } else {
- jQuery(element).parent().find('div.children').html(data.message);
- }
- }
- });
- return false;
- });
- }
-// jQuery(document).ready(function() {
-// return bindOnClick();
-// });
-</script>
</body>
</html>
Oops, something went wrong.

0 comments on commit 42b48ca

Please sign in to comment.