The SimpleInvoices forum has moved to Google Plus - this forum is now read-only
'display' is null or not an object [bug:closed]
  • DigiNeko47DigiNeko47 January 2010

    hi, i get this error just in the payment page, on IE
    Details web page error

    User Agent: Mozilla/4.0 (compatible-MSIE 8.0-Windows NT 5.1; Trident/4.0;. NET CLR 1.1.4322;. NET CLR 2.0.50727; InfoPath.2)
    Date: Tue, 5 Jan 2010 03:00:22 UTC


    Message: 'display' is null or not an object
    Line: 27
    Character: 34
    Code: 0
    URI: .../include/jquery/jquery-1.2.6.min.js


    any idea???

  • justinjustin January 2010

    thanks digi

    havent tested this page in IE for pages

    i've added it to our todo list http://code.google.com/p/simpleinvoices/wiki/todo

    hopefully will get fixed soon

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • I noticed this and fixed it:
    open the file modules\payments\manage.js.php

    on line 28 which should look like this: {display: 'Date', name : 'date', width : 10 * percentage_width, sortable : true, align: 'left'},
    remove that final comma.
    I.E. screws up on trailing commas on the last item of a javascript array, hence the problem in i.e. and not other browsers.

    James

  • justinjustin April 2010

    thanks james!

    i'll add your fix into svn tonight
    - will be in 2010.2 beta 3 and onwards

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • ImmanuelImmanuel May 2010

    This fix works perfectly! Thanks James!

    Kind regards,

    Immanuel

Categories