-kd               = require 'kd'
-JView            = require 'app/jview'
-isKoding         = require 'app/util/isKoding'
-showError        = require 'app/util/showError'
-KDLoaderView     = kd.LoaderView
-PermissionsForm  = require './permissionsform'
-KDCustomHTMLView = kd.CustomHTMLView
+kd                 = require 'kd'
+isKoding           = require 'app/util/isKoding'
+showError          = require 'app/util/showError'
+KDLoaderView       = kd.LoaderView
+PermissionsForm    = require './permissionsform'
+KDCustomHTMLView   = kd.CustomHTMLView
+KDCustomScrollView = kd.CustomScrollView
 
 
-module.exports = class GroupPermissionsView extends JView
+module.exports = class GroupPermissionsView extends KDCustomScrollView
 
   constructor: (options = {}, data) ->
 

          @loader.show()

        @loader.hide()

  pistachio:->
    """
    {{> @loader}}
    """




    super options, data

    @wrapper.addSubView @loader = new KDLoaderView
      showLoader     : yes
      loaderOptions  :
        shape        : 'spiral'
