Giter Site home page Giter Site logo

Comments (6)

EdwardNavarro avatar EdwardNavarro commented on July 4, 2024 2

Hi @tunisiano187 ,

I found that settings icon and tab not work because is needed to update the selectors in lines 774 and 775, please try this:

$(".tabs-container ul.nav.nav-tabs").append(b);
$(".contents .tab-content").append('<div class="tab-pane" id="segment-edit-settings"><div class="settings">Slack</div></div>');

replace as this:

$("#user-info .flex-parent #user-tabs .nav-tabs").append(b);
$("#user-info .flex-parent .tab-content").append('<div class="tab-pane" id="segment-edit-settings"><div class="settings">Slack</div></div>');

Other issue I got was that jQuery selectors not work if $ variable is not declared globally, so, in this case I did it by putting following after the UserScript section (line 28), and everything works well.

/* global $ */

from wme-send-to-slack.

tunisiano187 avatar tunisiano187 commented on July 4, 2024

2022.06.22.02 solve missing locks

from wme-send-to-slack.

tunisiano187 avatar tunisiano187 commented on July 4, 2024

2022.06.23.01 Solves missing Validation icon
355d04b

from wme-send-to-slack.

tunisiano187 avatar tunisiano187 commented on July 4, 2024

from wme-send-to-slack.

tunisiano187 avatar tunisiano187 commented on July 4, 2024

from wme-send-to-slack.

grosshad avatar grosshad commented on July 4, 2024

Hi @tunisiano187 ,

I found that settings icon and tab not work because is needed to update the selectors in lines 774 and 775, please try this:

$(".tabs-container ul.nav.nav-tabs").append(b);
$(".contents .tab-content").append('<div class="tab-pane" id="segment-edit-settings"><div class="settings">Slack</div></div>');

replace as this:

$("#user-info .flex-parent #user-tabs .nav-tabs").append(b);
$("#user-info .flex-parent .tab-content").append('<div class="tab-pane" id="segment-edit-settings"><div class="settings">Slack</div></div>');

Other issue I got was that jQuery selectors not work if $ variable is not declared globally, so, in this case I did it by putting following after the UserScript section (line 28), and everything works well.

/* global $ */

with version 2022.08.15.01 this patch need to be applied to lines 744 and 745

from wme-send-to-slack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.