Changeset 26305


Ignore:
Timestamp:
06/09/10 16:19:07 (7 years ago)
Author:
gudd
Message:

Moved jqgrid from org.openpsa.documents to org.openpsa.core.
Added new Class for loading the necessary files for jQGrid.
So it will be easier to load jQgrid in other components.

Location:
branches/ragnaroek/midcom
Files:
16 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ragnaroek/midcom/org.openpsa.documents/handler/directory/view.php

    r26206 r26305  
    237237        $this->_request_data['prefix'] = $_MIDCOM->get_context_data(MIDCOM_CONTEXT_ANCHORPREFIX);
    238238
    239         //needed js/css-files for jqgrid
    240 
    241         $_MIDCOM->add_jsfile(MIDCOM_STATIC_URL . '/org.openpsa.documents/jqGrid-3.6.4/js/i18n/grid.locale-en.js');
    242         $_MIDCOM->add_jsfile(MIDCOM_STATIC_URL . '/org.openpsa.documents/jqGrid-3.6.4/js/jquery.jqGrid.min.js');
    243         $_MIDCOM->add_jsfile(MIDCOM_JQUERY_UI_URL . '/ui/ui.resizable.js');
    244 
    245 
    246         $_MIDCOM->add_link_head
    247         (
    248             array
    249             (
    250                 'rel'   => 'stylesheet',
    251                 'type'  => 'text/css',
    252                 'media' => 'all',
    253                 'href'  => MIDCOM_STATIC_URL . "/org.openpsa.documents/jqGrid-3.6.4/css/ui.jqgrid.css",
    254             )
    255         );
    256         $_MIDCOM->add_link_head
    257         (
    258             array
    259             (
    260                 'rel'   => 'stylesheet',
    261                 'type'  => 'text/css',
    262                 'media' => 'all',
    263                 'href'  => MIDCOM_STATIC_URL . "/org.openpsa.documents/jqGrid-3.6.4/css/ui.custom.css",
    264             )
    265         );
     239        //load js/css for jqgrid
     240        org_openpsa_core_ui::enable_jqgrid();
    266241
    267242        $_MIDCOM->add_link_head
Note: See TracChangeset for help on using the changeset viewer.