Results 1 to 5 of 5

Thread: ext.js deprecated atributes work with chrome and edge, but not IE11

  1. #1
    Sencha User
    Join Date
    Jun 2016
    Posts
    3

    Default ext.js deprecated atributes work with chrome and edge, but not IE11

    In creating a custom panel, a bunch of deprecated warnings are causing issues with an ext.Viewport object in IE11 that works fine with Edge or Chrome. Code:

    Code:
      openExportModal: function() {
        try {
          var exportmodal = Ext.Viewport.down('exportPanel');
          if (!exportmodal) {
            exportmodal = Ext.create('TP.view.panelmodals.ExportPanel');
          }
          Ext.Viewport.add(exportmodal);
          exportmodal.show();
        }
        catch (e) {
          TP.util.ErrorManager.displayError(e, 'Runtime');
        }
      },

    Errors:

    [DEPRECATE][Anonymous] 'body' is deprecated, please use 'element' instead
    [DEPRECATE][Anonymous] 'body' is deprecated, please use 'element' instead
    [DEPRECATE][Anonymous] 'el' is deprecated, please use 'element' instead
    [DEPRECATE][Anonymous] 'el' is deprecated, please use 'element' instead
    [DEPRECATE][Anonymous] 'outer' is deprecated, please use 'renderElement' instead
    [DEPRECATE][Anonymous] 'outer' is deprecated, please use 'renderElement' instead
    [DEPRECATE][Anonymous] 'ownerCt' is deprecated, please use 'parent' instead
    [DEPRECATE][Anonymous] 'ownerCt' is deprecated, please use 'parent' instead
    [DEPRECATE][Anonymous] 'update' is deprecated, please use 'setHtml' instead
    [DEPRECATE][Anonymous] 'update' is deprecated, please use 'setHtml' instead
    [DEPRECATE][Anonymous] 'body' is deprecated, please use 'element' instead
    [DEPRECATE][Anonymous] 'el' is deprecated, please use 'element' instead

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Are you able to recreate this issue in a test case?
    https://fiddle.sencha.com/#home

  3. #3
    Sencha User
    Join Date
    Jun 2016
    Posts
    3

    Default

    Unfortunately I'm not. It's from a very large code base for a commercial product.

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I haven't seen that kind of error before. Are you using third-party software in your build?

  5. #5
    Sencha User
    Join Date
    Jun 2016
    Posts
    3

    Default

    Not for this panel, no.

Similar Threads

  1. Form submit works in Chrome/FF but not IE11
    By Luke5 in forum Ext JS 6.x Q&A
    Replies: 5
    Last Post: 9 Jul 2018, 8:14 PM
  2. [OPEN] Insecure Application Cache deprecated in Chrome 50
    By tangix in forum Ext JS 6.x Bugs
    Replies: 8
    Last Post: 26 Jul 2017, 12:54 AM
  3. Replies: 2
    Last Post: 9 Dec 2015, 12:11 PM
  4. Microsoft Edge browser identified as Chrome
    By LarssaAndin in forum Sencha Inspector
    Replies: 2
    Last Post: 27 Aug 2015, 10:15 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •