       title    : "-"
       callback : =>
         @confirmDelete =>
+          @getDelegate().emit "DeleteItem", code
 
   confirmDelete:(callback) ->
-
-    @deleteModal = new KDModalView
+    deleteModal = new KDModalView
       title        : "Warning"
       content      : "<div class='modalformline'>Are you sure you want to delete this item?</div>"
       height       : "auto"

            color  : "#ffffff"
            diameter : 16
          style    : "modal-clean-gray"
          callback : callback
 
  viewAppended: JView::viewAppended


class GroupProductListItem extends KDListItemView
  constructor:(options,data)->
    super options, data

    {code} = @getData()

