Skip to content

Commit

Permalink
all code for jqGrid support is removed [#124 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatov committed Aug 9, 2011
1 parent 6bf6629 commit 812b587
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 836 deletions.
4 changes: 1 addition & 3 deletions src/main/scala/bootstrap/liftweb/Boot.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import tools.colladoc.api.ExportService
import tools.colladoc.lib.sitemap._
import tools.colladoc.model.mapper._
import tools.colladoc.lib.js.JqUI._
import tools.colladoc.api.{GridAPI, RestAPI}
import tools.colladoc.api.RestAPI
import tools.colladoc.lib.openid.ColladocOpenIDVendor
import tools.colladoc.boot.ColladocBoot

Expand Down Expand Up @@ -69,8 +69,6 @@ class Boot {

LiftRules.dispatch.prepend(RestAPI.dispatch)

LiftRules.dispatch.prepend(GridAPI)

// Build SiteMap
def sitemap() = SiteMap(
Menu(IndexStuff),
Expand Down
84 changes: 0 additions & 84 deletions src/main/scala/scala/tools/colladoc/api/GridAPI.scala

This file was deleted.

5 changes: 0 additions & 5 deletions src/main/scala/scala/tools/colladoc/lib/js/JqUI.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ object JqUI {
(if (title.nonEmpty) ", title: " + title.encJs else "") + ", hide: " + hide.toString + " });"
}

/** Reload jqGrid table. */
case class ReloadTable(table: String) extends JsCmd {
override def toJsCmd = "$('" + table + "').trigger('reloadGrid', [{page: 1}]);"
}

/** Submit form. */
case class SubmitForm(jqId: String) extends JsCmd with JsMember {
override def toJsCmd = "$('" + jqId +"').submit();"
Expand Down
6 changes: 0 additions & 6 deletions src/main/scala/scala/tools/colladoc/model/mapper/User.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,6 @@ class User extends ProtoUser[User] with OneToMany[Long, User] {

/** Non absolute hyperlink to user's profile. */
private def profileHyperlinkLocal = <a target="template" href={profileUrlLocal}>{userName}</a>

/** Grid entry. */
def toGridRow =
<row id={id.toString}>
<cell>{profileHyperlinkLocal.toString}</cell>
</row>
}

/**
Expand Down
140 changes: 0 additions & 140 deletions src/main/webapp/scripts/ui/css/scaladoc/ui.jqgrid.css

This file was deleted.

0 comments on commit 812b587

Please sign in to comment.