JavaScript must be installed and enabled to use these boards.
Your browser appears to have JavaScript disabled or does not support JavaScript. Please refer to your browser's help file to determine how to enable JavaScript.
Sep 24, 2021 12:40 PM - edited Sep 29, 2021 5:07 PM
この1年間、約30人のオペレーション担当者にインタビューし、オペレーションの世界について理解しようと努めてきました。さまざまなことを尋ねましたが、その中でも、特に全員に聞いた質問があります。
企業成長のどの段階で、リーダーはオペレーションに投資するべきでしょうか?
全員の答えは基本的に同じでした。
もっと早くから始めるべきだ。
この答えは何度も何度も耳にしたので、スタートアップ企業が最初に採用するべき人材はオペレーションの主任ではないかと思うようになりました。しかし、もう少し注意して掘り下げてみると、オペレーションに投資するべきタイミングはいつなのか、そしてなぜオペレーション担当者全員が自社の投資のタイミングが遅すぎると感じているのか、理解できるようになってきました。私がまとめた見解を皆さんにも伝えたいと思います。
オペレーションに携わっている人なら、フリーダイバーよりも水中にいる感覚が分かるはずです。また、消防士よりも、炎や爆発が迫ってくる感覚も理解できるはずです。オペレーションは、ビジネスのあり方を根本的に変えることができる戦略的な役割であると期待されていますが、一つの危機から次の危機へと走り回り、物事を継ぎ合わせ、無限に続く緊急タスクを次々とこなすだけで1日が終わるのが現実です。こうした問題の多くは、ビジネスが根本から体系的に構築されていないことが原因で発生する副作用のようなものです。欠点ばかりが目につき、「誰かが最初からオペレーションを考えてくれていたら、今頃はもっとスムーズに業務が進んでいたはずだ」と思ってしまうものです。
このような状況は、インタビューを敢行したほとんどの企業で起こっているもので、その理由を考え始めました。なぜもっとスマートに企業を創立する方法を考えなかったのか?なぜ創業者は最初から拡張を考えて起業しないのか?
これが私の次の研究課題となったわけですが、その結果は驚くべき内容でした。しかし、その前に、拡張性とは何か少しお話しましょう。
簡単に言えば、企業が拡張を実現できれば、直線的な成長からは脱却できます。それまでは、人員を増やすことでしか収益の向上は見込めません。売上を伸ばしたいですか?営業担当者を増やしましょう。顧客数が多すぎて、サポートチームで対応できていませんか?サポート担当者を増員しましょう。収益の増加は増員と切り離すことができませんが、増員はコストのかかる方法です。さらに言えば、これは一時的な戦略であり、最終的には壁にぶつかることになります。結局、地球上の営業とサポートの担当者全員を採用することはできません。たとえ本当にそれができたとしても、拡張するチームの獲得とトレーニングにかかるコストは、すべてのリソースを消費し、ビジネスの各部門への投資を妨げることにもなりかねません。
もちろん、規模を広げずに、中小企業の状態をずっと維持するという方法もあります。私は、中小企業の経営者像を良く知っており、好んで仕事もしてきました。彼らについては、良い印象しかありません。中小企業の状態を継続することが目標なら、安定した収益と固定された人員数の均衡に落ち着き、何年もそのモデルを維持することはできます。しかし、成長を続け、対応する場所や顧客を広げ、提供する製品のリストを増やし、世界への影響を高めることが目標なら、同じペースで人員を増やさずに収益を増やす方法を見つける必要があります。
それができれば、魔法のようなことが起こります。増員に比例して収益が増えるのではなく、曲線を描いて上昇するようになります。直線的な傾向ではなくなり、増員した結果として収益が向上するのではなく、収益が向上するから増員が可能になるでしょう。そして、研究開発や海外進出のほか、直線的な収益成長では賄えないビジネスへの投資も可能になります。
素晴らしいと思いませんか?ここで、先ほどの問題に戻ります。スタートアップ企業は、なぜ設立当初から拡張を想定して最適化しないのでしょうか?
自分が起業することを想像してみてください。(想像するまでもなく、すでに実行している人もいるでしょう)。消費者に愛されると思う製品やサービスをそろえ、どのようなタイプの人がターゲットになるか仮説を立てています。そこで世に出て、ターゲットになるユーザーを探し、その層に向けて製品をアピールします。
しかし、ターゲット全員が製品を買うわけではありません。そこで情報を集め、仮説を更新していくと、アプローチしたユーザーのうち、購入してくれる人の割合がすぐに増えていきます。しかし、製品を購入するユーザー数が増えると、かなりの割合の人が不満を持っていることが分かります。まったく気に入らなかったので、買わなければよかったと思う人もいるでしょう。幸いなことに、不満を持った理由をフィードバックしてくれる人もいるので、改善し優れた製品を提供することができます。
需要が拡大すれば、少人数の営業チームを採用して、売り込みを開始します。それぞれの営業担当者が、独自の方法でリードを見つけて製品を販売していますが、特に結果が秀でている担当者もいます。賢明な経営者は、その理由を探り、ターゲットの顧客が望んでいるアプローチ方法を発見します。その結果、営業のベストプラクティスが確立され、営業チームメンバーに共有します。徐々に、しっかりとした営業プロセスが形成されていきます。
一方、これまでは顧客数が少なかったので、顧客サポートには投資していませんでした。しかし、営業チームが素晴らしい成果を上げ、顧客数も増えた今サポートが必要になったので、そのためのチームを構築します。ここでも同じストーリーが繰り返されます。他より成果を上げる担当者がいて、ベストプラクティスを見つけるために調査し、すぐにチームが活性化されます。
ここでは、マーケティングには触れていません。もしかしたら初期の段階からマーケティングに力を入れ、顧客層に対する理解が深まり、製品が成熟するとともにマーケティングも適応し、変化していくのかもしれません。あるいは、顧客層や製品がある程度決まるまで待っていたので、マーケティングエンジンを始動したばかりかもしれません。いずれにしても、試行錯誤を繰り返しながら、マーケティングも正しい方向に進めるようになるでしょう。
マーケティング、営業、顧客サービスがそれぞれ活躍し、会社としても成長しています。しかし、成長は直線的です。営業のキャパシティを広げるには営業チームの増員が必要で、顧客サービスについても同様です。顧客に愛され、製品への需要も高まっているのに、そのペースに追いつくのに苦労している状態です。まるで車輪が外れかけているような感覚で、支援が必要です。
オペレーションが必要になります。
そこで、オペレーション担当者を採用します。企業の短い歴史の中で初めて、マーケティング、営業、顧客サービスのプロセス、それをサポートするシステムを担当するフルタイムのスタッフが登場したのです。
そして、それはあまり良いこととは言えません。
マーケティングから営業、営業から顧客サービスへの引き継ぎには大きなギャップがあり、そのギャップの中で多くのリードや顧客を失ってしまいます。
営業のパイプラインは穴だらけです。あるステップから次のステップへのコンバージョン率は最悪で、あちらこちらでステップが重複したり、逆に不足していたりします。
ここで、新任のオペレーション担当者に技術スタックについてどう思うか聞いてはいけません。担当者にとっては、無関係のツールをチューインガムや針金でつなぎ合わせただけの代物で、触っただけで崩れ落ちてしまうのではないかと不安に感じているからです。
気の毒なオペレーション担当者。仕事を終えて帰宅した担当者は、愛犬やパートナー、あるいは誰もいない部屋に向かって「この会社は好きだけど、もっと前からオペレーションに投資すべきだった」とつぶやくのです。
この仮説の物語を見てみましょう。この企業では、どのタイミングでオペレーションに投資するべきだったでしょうか?
これは非常に難しい問題ですが選択肢は3つあると思います。物語の最初、中盤、あるいは最後です。
それぞれのフェーズを考えてみましょう。
たとえば、最初の顧客がついた創立当事に投資したとしましょう。いきなり市場に飛び込むのではなく、オペレーション担当者を採用して、「当社にはこのような製品があり、ターゲットユーザーの仮説を立てています。できるだけ多くの人に製品を届けるオペレーションエンジンを構築してもらえないでしょうか?」と頼むこともできたはずです。しかし、これは非常に危険なことかもしれません。先ほどのストーリーでは、創設者はすぐに、理想の顧客像に関する直感が間違っていたことに気付き、貴重なフィードバックを得て、製品やサービスを改善することができました。つまり、この時点で厳密なオペレーションを導入するのは時期尚早だったでしょう。この企業はまだ正しい軌道に乗っていなかったので、オペレーションを使ってスピードを上げようとしていたら、全く別の方向へ突進してしまったかもしれません。
では、物語の中盤の場合はどうでしょうか?ここでは、いくつかの機会があると思います。まず、営業のベストプラクティスを把握し、チームに教育する人材として、オペレーション担当者を起用する方法が考えられます。これは非常に理にかなった方法で、多くの企業で導入されています。営業オペレーション、営業管理、あるいは営業トレーニングのリーダーを採用し、営業プロセスを厳格に管理するのです。この方法は非常に優れています。次に、顧客サービスチームを構築するタイミングです。先ほどと同じ作戦を導入し、新しい顧客担当部門にオペレーション担当者、またはトレーニング担当者を採用します。問題ないですね。マーケティングについても同じです。良いでしょう。しかし、ここでサイロ化という新たな問題が発生します。マーケティング、営業、サービスには、それぞれの戦略と目標があり、技術的なスタックもあります。営業は独自の方法で注文を処理し、顧客サービスではまったく別の方法を取り入れています。顧客は社内が連携していないことを感じ、好感が持てなくなります。さらに、創設者にとってこの3種類のデータセットを1つの確立された情報源にまとめるのは至難の業です。最後まで待つよりは比較的問題が少なくて済みますが、こうした不一致を解決するために新しい担当者が必要になります。新しいスタッフは、チューインガムや針金で繋がれたシステムを目の当たりにすることになります。問題を完全に回避するのではなく、少しだけ形を変えるのです。
物語の最後にオペレーションを導入する方法が残っていますが、先ほど読んだように、これも理想的とは言えません。
では、正解はどれでしょうか?最初から拡張性を最適化するにはどうしたらよいのでしょうか?
私の知る限り、それは無理です。設立当初の成長は直線的で非効率ですが、これを避けることはできません。また、避けたいとも思わないはずです。
これこそ、多くの人が見落としている重要な洞察です。非効率、直線的、拡張性のない成長は、あらゆる企業が成長するのに不可欠な要素です。
先ほどの仮説の物語で、創設者が行う最も重要な作業は、市場に出て製品や企業の位置付けに対してフィードバックを得ることです。創設者は、重要な見識を得ることで、企業にとって重要な改革を起こすことができます。これは、営業チームにも、顧客サービスチームにも、マーケティングチームにも同じことが言えます。彼らは試行錯誤しながら学び、成功と失敗から大切な見識を得るのです。その過程で多くのミスを犯し、中には重大な失敗もあるかもしれません。しかし、いずれは最適な製品を適切な顧客の元に届けられるようになるのです。その結果、企業の長期的な成長に必要な需要が掘り起こされ、この需要をフルに活かすためオペレーション担当者が配置されます。
ほとんどの企業で、オペレーション担当者の導入まで時間がかかりすぎるのは事実です。実際は、必要性を感じる前にフルタイムのオペレーション担当者の採用を検討するべきなのです。しかし、物事が正しい軌道に乗る前には、初期段階の混乱した苦しい時期を避けることはできません。
最近、子供たちが図書館でイモムシや蝶に関する本を借りてきたのですが、メタモルフォーゼというのは私が想像していたよりもずっと奇妙なものだということがわかりました。さなぎを切り開くと、イモムシと蝶の中間のような奇妙な生き物が出てくるものだと思っていました。人間の場合も、十代の頃、子どもでもなく大人でもない奇妙な過渡期を体験するのと同じようなものだと思っていたのです。
しかし、その思い込みは間違いだとわかりました。
さなぎを切り開くと、どろどろしたものしかありません。イモムシが保護膜の中に入ると、酵素を放出して自分の体を消化してしまいます。タンパク質液の海に浮かぶ数個の細胞以外は何も残っていません。このタンパク質を燃料にして、ゼロから体を作り上げ、細胞から蝶に成長します。
これは、企業が拡張性を手に入れる際の比喩だと思います。最初のうちは、企業はイモムシのようなものです。目に入るものをすべて食べ尽くしながら、うねうねと進み、成長は早いが、動きはゆっくりです。飛び立ちたいとは思っているものの、翼がありません。そして、さなぎに入ります。飛び立つために順調に進んでいると思ったのに、すべてが崩れ落ちてしまいます。今まで苦労して築いてきたものが溶けて、原始スープになってしまうのです。大惨事だと思うでしょう。しかし、成長の坩堝の中には、次の段階に進むために必要なものがすべてそろっています。どのようにそれを組み立てるかを考える必要があるだけです。不安と苦痛と混乱に満ちていますが、これを切り抜ければ、やがて美しい蝶になって鳥と一緒に空を飛べるのです。
蝶に関してもう一つ余談を話しましょう。全身の構造を一から作り直したにもかかわらず、蝶はイモムシの時に経験したことを記憶しているのです。たとえば、イモムシにある臭いを避けるように教え込むと 、蝶になってもその臭いを避けるようになります。つまり、スタートアップ企業からスケールアップした企業へメタモルフォーゼしても、初期の段階で学んだことは失ってはならないのです。成長の坩堝の中でどろどろした液体になっても、それまでの歩みを後悔する必要はありません。ただイモムシだっただけで、その過程を経る運命だったのです。しかし、今こそ持っているピースを集めて、優れたものに再アレンジする時なのです。
ここでヒーローのように颯爽と登場するのがオペレーション担当者です。彼らは、消化されたタンパク質の海に浮かぶ小さな細胞で、混沌した状態から秩序を取り戻します。当人から見ると「大惨事の一歩手前だ」あるいは「呼ばれるのが遅すぎた」と思うかもしれません。しかし、企業が発展するには、イモムシの段階を避けることはできません。それは、大きく飛躍するためのステップの一つに過ぎません。しかし、メタモルフォーゼも企業が発展するためのステップの一つで、社内のオペレーションに注意を払う人がいなければ、生き残ることはできません。つまり、オペレーション担当者を採用するのに、時間をかけすぎるのは得策とは言えません。オペレーション担当者がいなければ、企業は永遠にイモムシのままなのですから。
レベニューオペレーションに求められるスキルセットとは
49人のオペレーション担当者と話して、私が感じた5つのポイント
著者: Kyle Jepson / HubSpot シニア アカデミー プロフェッサー
No one has replied to this post quite yet. Check back soon to see if someone has a solution, or submit your own reply if you know how to help! Karma is real.
Need help replying? Check out our Community Guidelines
メンバーに質問したり、ディスカッションを開始したりしましょう!
\\n\\t\\t\\t\\t\\t\\tSorry, unable to complete the action you requested.\\n\\t\\t\\t\\t\\t<\\/p>\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\t\\t\\t<\\/div>\\n\\n\\t\\t\\t\\n\\t\\t<\\/div>\";LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b8754088f8efd', 'disableAutoComplete', '#ajaxfeedback_6b8754084e5790_0', 'LITHIUM:ajaxError', {}, '9V3-xrSL3cawkXIT_TrVx4DudxnYFqcd4mbKMlclLww.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_6b8754084e5790_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b875409ec7ff7', 'disableAutoComplete', '#ajaxfeedback_6b8754084e5790_0', 'LITHIUM:ajaxError', {}, 'LBspQ_LoxqP_AJ4YxyymQqvtkl3vQjVkg4W2y5uSnG4.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_6b8754084e5790_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b87540ae5fe61', 'disableAutoComplete', '#ajaxfeedback_6b8754084e5790_0', 'LITHIUM:ajaxError', {}, '3LGCXimeYu41vf7K8vHoeMAvPAu4qpj2asGyvxhBFhY.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_6b8754084e5790","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_6b8754084e5790","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_6b8754084e5790_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"3ElrzLzmUXID3IDRZTCg5ESy02TWnm_E_EEudlDNLGs."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b87540b163e6f', 'disableAutoComplete', '#ajaxfeedback_6b8754084e5790_0', 'LITHIUM:ajaxError', {}, 'kMlltgoQwMk1dyDcNe5T2iTQFKtQNNdw784Mnyjt4Cs.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_6b8754084e5790_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b87540b4cb14a', 'disableAutoComplete', '#ajaxfeedback_6b8754084e5790_0', 'LITHIUM:ajaxError', {}, 'Lcjmq8n4mnN1_NNif1IC0GQUZJt4JZ5_aUyxJxItmLc.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_6b8754084e5790","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_6b8754084e5790', 'enableAutoComplete', '#ajaxfeedback_6b8754084e5790_0', 'LITHIUM:ajaxError', {}, 'hoPGPUG0Urx5t2YLF9nY4XXNFByfIxOKiI5YE00jyF4.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_6b8754084e5790","tooltipContentSelector":"#link_6b8754084e5790_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_6b8754084e5790_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_6b8754084e5790","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_6b8754084e5790","asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_6b8754084e5790_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); LITHIUM.Form.resetFieldForFocusFound(); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function() { $(".custom-user-menu-v2 .nav-link").click(function(e) { e.preventDefault(); $(".nav-popover.profile").toggleClass('show'); }); $(".search-toggle-action-icon-plus").on("click",function(e){ e.preventDefault(); $(this).parent().find(".plus-bar-main-content").toggle(); }); //User Avatar $('.header-tab-nav li span').click(function() { $('.header-tab-nav li span').removeClass("active"); if(this.id == 'profile'){ $('span#profile').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').show(); $('.header-tab-nav-content > div#admin-list-wrapper').hide(); $('.header-tab-nav-content > div#profile-list-wrapper').removeClass('profile-menu-dropdown'); } if(this.id == 'admin'){ $('span#admin').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').hide(); $('.header-tab-nav-content > div#admin-list-wrapper').show(); $('.header-tab-nav-content > div#profile-list-wrapper').addClass('profile-menu-dropdown'); } var indexer = $(this).index(); //gets the current index of (this) which is #header-tab-nav li $('.header-tab-nav-content > div:eq(' + indexer + ')').fadeIn(); //uses whatever index the link has to open the corresponding box }); $(this).mouseup(function (e){ var customButton = $('.nav-popover.profile'); if(!$('.custom-menu-caret').is(e.target) && $('.custom-menu-caret').has(e.target).length === 0){ if(!customButton.is(e.target) && customButton.has(e.target).length === 0){ if (!$('.custom-user-menu-v2 > .nav-link').is(e.target) && $('.custom-user-menu-v2 > .nav-link').has(e.target).length === 0) { customButton.removeClass('show'); } } } var menuWrapper = $('.menu-wrapper'); if(!menuWrapper.is(e.target) && menuWrapper.has(e.target).length === 0){ if (!$('.menu').is(e.target) && $('.menu').has(e.target).length === 0) { menuWrapper.removeClass('offcanvas'); } } var container = $(".plus-bar-main-content"); var customButton = $(".search-toggle-action-icon-plus"); if (!customButton.is(e.target) && customButton.has(e.target).length === 0) { container.hide(); } if(!$('.lang-picker-wrapper').is(e.target) && $('.lang-picker-wrapper').has(e.target).length === 0){ if (!$('.lang-picker').is(e.target) && $('.lang-picker').has(e.target).length === 0) { $('.lang-picker').removeClass('show'); } } }); //SCROLL JS $(window).scroll(function(e) { e.preventDefault(); if($('.nav-popover.profile').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.profile').removeClass("show"); } else { $('.nav-popover.profile').addClass("show"); } } if($('.nav-popover.get-hubspot').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.get-hubspot').removeClass("show"); } else { $('.nav-popover.get-hubspot').addClass("show"); } } if ($(this).scrollTop() > 0) { $('.search-input.lia-search-input-message').blur(); $('.plus-bar-main-content').hide(); } }); }); jQuery('.lang-picker-wrapper').click(function(){ jQuery(".lang-picker").toggleClass('show'); }); jQuery('.lia-cat-sub-editor-modal .lia-ui-modal-footer .lia-button-Submit-action').live('click',function(){ setTimeout( function() { location.reload(true); },1000); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['en']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_6b87540c330c67","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_6b87540c330c67_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_6b87540c330c67_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_6b87540c330c67_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b87540c6905a3', 'disableAutoComplete', '#ajaxfeedback_6b87540c330c67_0', 'LITHIUM:ajaxError', {}, 'gbaD9SSYVYlhf4mK35WEg2d5WfPKl6-wL7UgRjUNdcs.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_6b87540c330c67_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b87540cb27534', 'disableAutoComplete', '#ajaxfeedback_6b87540c330c67_0', 'LITHIUM:ajaxError', {}, 'FcxoRwARXhwTLayNlVEqd_o3-4IFpr8SLeOGI5sSqCg.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_6b87540c330c67_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b87540d090ca0', 'disableAutoComplete', '#ajaxfeedback_6b87540c330c67_0', 'LITHIUM:ajaxError', {}, 'yp3xyJYtMYpkvDsaJK-ChHqT52ZH3RVq7fq2pCONBxA.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_6b87540c330c67","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_6b87540c330c67","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_6b87540c330c67_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"9TcM0HSI5t4NbrrSoBj1nVIASWJJ4VBfe9ZUDmMFth4."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b87540d4769cd', 'disableAutoComplete', '#ajaxfeedback_6b87540c330c67_0', 'LITHIUM:ajaxError', {}, '7PO4FpSK7JaX4T6yjUxDYUCjE-6zVbflYwl4x4OGgKY.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_6b87540c330c67_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b87540d72fa4d', 'disableAutoComplete', '#ajaxfeedback_6b87540c330c67_0', 'LITHIUM:ajaxError', {}, 'JJZhitDf5TiJs6tPp1hpMQJALGIGE8NwuFGsrzPz3Pw.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_6b87540c330c67","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_6b87540c330c67', 'enableAutoComplete', '#ajaxfeedback_6b87540c330c67_0', 'LITHIUM:ajaxError', {}, 'Gtl_u5oFHQmgM7Cfqhq7B-zBY_d_A8D62r1OyVt0bU8.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_6b87540c330c67","tooltipContentSelector":"#link_6b87540c330c67_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_6b87540c330c67_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_6b87540c330c67","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_6b87540c330c67","nodesModel":{"operations_jp|category":{"title":"Search Category: RevOps & オペレーション","inputSelector":".lia-search-input-message"},"user|user":{"title":"Users","inputSelector":".lia-search-input-user"},"opslifejp|forum-board":{"title":"Search Board: RevOps & オペレーション","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Search Community: RevOps & オペレーション","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_6b87540c330c67_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); (function($) { if ( $('.lia-notification-feed-page-link').length ) { $('.lia-notification-feed-page-link').addClass('nav-notifs'); } if ( $('.private-notes-link').length ) { $('.private-notes-link').addClass('nav-mail'); } })(LITHIUM.jQuery); ;(function($){ $('.custom-search-focus').on('click', function() { $('.lia-search-input-message').focus(); }); })(LITHIUM.jQuery); // Pull in global jQuery reference if (document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0]) { document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0].href = "/t5/bizapps/page/tab/community%3Amoderation?filter=includeForums&sort_by=-topicPostDate&include_forums=true&collapse_discussion=true" } ;(function($) { $("#get-hubspot-free").click(function(){ $("#get-hubspot").toggleClass("show"); }); // Closes dropdown boxes when clicking outside of the box // click listener applied inline, function in script tag window.onclick = function(e) { if (e.target?.matches && !e.target?.matches('#get-hubspot-free')) { if (document.getElementById("get-hubspot")) { if (document.getElementById("get-hubspot").classList.contains('show')) { document.getElementById("get-hubspot").classList.remove('show'); } } } if (e.target?.matches && !e.target?.matches('#current-language')) { if (document.getElementById("lang-picker-global")) { if (document.getElementById("lang-picker-global").classList.contains('show')) { document.getElementById("lang-picker-global").classList.remove('show'); } } } }; $(window).scroll(function(){ if ($(this).scrollTop() > 65) { $('.forum-nav-bar').addClass('ch-sticky'); $('.community-header-nav').addClass('ch-space'); } else { $('.forum-nav-bar').removeClass('ch-sticky'); $('.community-header-nav').removeClass('ch-space');; } }); $('span.custom-menu-caret').on('click',function(){ $(this).siblings('.nav-popover.profile').toggleClass('show'); }); })(LITHIUM.jQuery); (function($) { $(document).ready(function(){ try{ var PostURl = '' if('board'==='board'){ var PostURl = '/t5/forums/postpage/board-id/opslifejp' }else if('board'==='category') { var PostURl = '/t5/forums/postpage/category-id/opslifejp'} var searchSelector = $('.custom-search-wrapper .lia-autocomplete-container .lia-autocomplete-footer'); var data = "Can't find what you're looking for? Ask A Question "; $(data).insertAfter(searchSelector[0]); }catch(err){ console.log(err); } }); })(LITHIUM.jQuery); (function($) { $(document).ready(function(){ $('.lia-quilt-idea-exchange-page-filtered-v2 .custom-v2-banner .search-input, .lia-quilt-idea-page-filtered .custom-v2-banner .search-input').attr('placeholder', 'Search for Ideas'); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['en']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_6b875410c967a1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_6b875410c967a1_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_6b875410c967a1_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_6b875410c967a1_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b875410f6d578', 'disableAutoComplete', '#ajaxfeedback_6b875410c967a1_0', 'LITHIUM:ajaxError', {}, 'i0Z1jvuvINP0YzxH9RAcw4xiFTc_GDHVIkLWtGyZlBw.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_6b875410c967a1_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b8754112c9022', 'disableAutoComplete', '#ajaxfeedback_6b875410c967a1_0', 'LITHIUM:ajaxError', {}, 'm3nOyr3yTKyX2T2xBUs5nJD7CcVpMkcfLGGAVbU51FA.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_6b875410c967a1_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b87541207164a', 'disableAutoComplete', '#ajaxfeedback_6b875410c967a1_0', 'LITHIUM:ajaxError', {}, 'DQhjg1N_X8kcCsi-pbPlXJEqzZ22sx1OwpCimTPhgQE.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_6b875410c967a1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_6b875410c967a1","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_6b875410c967a1_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"C07nAEXlBO8-xlOdaR3b1RoGKkTpuF19MEj7tNM4rBM."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b875412429694', 'disableAutoComplete', '#ajaxfeedback_6b875410c967a1_0', 'LITHIUM:ajaxError', {}, 'MzRWLMGDukAe_BVa3S608j-HaIIdpxOQzVj9cxCWjGI.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_6b875410c967a1_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_6b875412beb062', 'disableAutoComplete', '#ajaxfeedback_6b875410c967a1_0', 'LITHIUM:ajaxError', {}, 'PlgY_juebfmPSpzm9F5n1CwCkD3e-_M2m15vzBH6-G0.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_6b875410c967a1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_6b875410c967a1', 'enableAutoComplete', '#ajaxfeedback_6b875410c967a1_0', 'LITHIUM:ajaxError', {}, 'YDwlIKGYsSRkFH9xmehUodLQHpQtlUnjLSycGNdjNZI.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_6b875410c967a1","tooltipContentSelector":"#link_6b875410c967a1_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_6b875410c967a1_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_6b875410c967a1","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_6b875410c967a1","nodesModel":{"operations_jp|category":{"title":"Search Category: RevOps & オペレーション","inputSelector":".lia-search-input-message"},"user|user":{"title":"Users","inputSelector":".lia-search-input-user"},"opslifejp|forum-board":{"title":"Search Board: RevOps & オペレーション","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Search Community: RevOps & オペレーション","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_6b875410c967a1_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"Show contributions of the user, selected option is Options. You may choose another option from the dropdown menu.","disabledLink":"lia-link-disabled","menuOpenCssClass":"dropdownHover","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","messageOptions":"lia-component-message-view-widget-action-menu","menuBarComponent":"lia-component-menu-bar","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened","pageOptions":"lia-component-community-widget-page-options","clickElementSelector":".lia-js-click-menu","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed"}); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown","menuItemsSelector":".lia-menu-dropdown-items"}}); jQuery(document).ready(function() { function moveFollowButton() { let followText = "Follow"; let unfollowText = "Following"; let followToolTip = "Recieve email updates on this thread"; let unfollowToolTip = "Stop receiving email updates on this thread"; let signInToolTip = "Sign in to follow this topic"; let messages = jQuery('.ForumTopicPage .MessageView'); let ideaOptionsMenu = jQuery('.IdeaPage ul#dropdownmenuitems'); let blogOptionsMenu = jQuery('.BlogPage .lia-page-options ul.lia-menu-dropdown-items'); function ReturnFollowButton(elem, contentType, buttonClass) { let followSelector; let unfollowSelector; switch (contentType) { case 'forum': followSelector = 'addMessageUserEmailSubscription'; unfollowSelector = 'removeMessageUserEmailSubscription'; break; case 'idea': followSelector = 'addThreadUserEmailSubscription'; unfollowSelector = 'removeThreadUserEmailSubscription'; break; case 'blog': followSelector = 'addBoardUserEmailSubscription'; unfollowSelector = 'removeBoardUserEmailSubscription'; break; default: break; } let subscribeLink = elem.find('a.' + followSelector); let followWrapper; if (!subscribeLink.length) { subscribeLink = elem.find('a.'+ unfollowSelector); followWrapper = jQuery('').addClass(buttonClass).addClass('unfollow'); subscribeLink.text(unfollowText); subscribeLink.attr('title', unfollowToolTip); if (!subscribeLink.length) { subscribeLink = elem.find('span.' + followSelector); if (subscribeLink.length) { followWrapper = jQuery('').addClass(buttonClass).addClass('follow').addClass('disabled'); subscribeLink.text(followText); subscribeLink.attr('title', signInToolTip); } } } else { followWrapper = jQuery('').addClass(buttonClass).addClass('follow'); subscribeLink.text(followText); subscribeLink.attr('title', followToolTip); } return [followWrapper, subscribeLink]; } if (messages.length) { messages.each(function(i) { let followItems = ReturnFollowButton(jQuery(this), 'forum', 'follow-wrapper'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery(this).find('div.lia-message-author-username.lia-component-user-name'); followContainer.append(followWrapper); } }) } else if (ideaOptionsMenu.length) { let followItems = ReturnFollowButton(ideaOptionsMenu, 'idea', 'follow-wrapper'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery('.lia-component-idea-topic .DateTime'); followContainer.append(followWrapper); } } else if (blogOptionsMenu.length) { let followItems = ReturnFollowButton(blogOptionsMenu, 'blog', 'follow-wrapper btn btn-sm button-primary'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; console.log(followItems); if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery('.blog-listing-page-options .follow-container'); followContainer.append(followWrapper); } } } moveFollowButton(); jQuery('.lia-js-menu-opener').removeAttr("href"); }) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_0","feedbackSelector":".InfoMessage"}); LITHIUM.MessageBodyDisplay('#bodyDisplay', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"Show contributions of the user, selected option is Show 【ブログ\u200c💬】企業にとってレベニューオペレーションはいつ必要なのか? by Kyle Jepson post option menu. You may choose another option from the dropdown menu.","disabledLink":"lia-link-disabled","menuOpenCssClass":"dropdownHover","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","messageOptions":"lia-component-message-view-widget-action-menu","menuBarComponent":"lia-component-menu-bar","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened","pageOptions":"lia-component-community-widget-page-options","clickElementSelector":".lia-js-click-menu","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed"}); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_0","menuItemsSelector":".lia-menu-dropdown-items"}}); LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","renderEventParams":{"replyWrapperId":"replyWrapper","messageId":499967,"messageActionsId":"messageActions"},"isRootMessage":true,"collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","messageActionsSelector":"#messageActions","loaderSelector":"#loader","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer","loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false,"linearDisplayViewSelector":".lia-linear-display-message-view","threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","isLazyLoadEnabled":false,"layoutView":"threaded","isAllowAnonUserToReply":true,"replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"xY6u4dvT_A_zoWE_YI8HjqQL3X4HVznVMqGAXLRIfrs."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:lazyloadscripts?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"r0nKoTXGQOh_zDh8cPNLo2A7m6feTn564AYu_BYc10A."}); LITHIUM.AjaxSupport.fromLink('#kudoEntity', 'kudoEntity', '#ajaxfeedback', 'LITHIUM:ajaxError', {}, 'oo_YhPcpHdQ2Ln8RKx0kZQXCsM8dxkgv_3kgolHDnuY.', 'ajax'); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "kudoEntity", "actions" : [ { "context" : "envParam:entity", "action" : "rerender" } ] } ], "componentId" : "kudos.widget.button", "initiatorBinding" : true, "selector" : "#kudosButtonV2", "parameters" : { "displayStyle" : "horizontal", "disallowZeroCount" : "false", "revokeMode" : "true", "kudosable" : "true", "showCountOnly" : "false", "disableKudosForAnonUser" : "false", "useCountToKudo" : "false", "entity" : "499967", "linkDisabled" : "false" }, "initiatorDataMatcher" : "data-lia-kudos-id" }); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "approveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "unapproveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "deleteMessage", "actions" : [ { "context" : "lia-deleted-state", "action" : "addClassName" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "QuickReply", "actions" : [ { "context" : "envParam:feedbackData", "action" : "rerender" } ] }, { "event" : "expandMessage", "actions" : [ { "context" : "envParam:quiltName,expandedQuiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswer", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswerComment", "actions" : [ { "context" : "envParam:selectedMessage", "action" : "rerender" } ] }, { "event" : "editProductMessage", "actions" : [ { "context" : "envParam:quiltName,message", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAction", "actions" : [ { "context" : "envParam:quiltName,message,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "ProductMessageEdit", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "MessagesWidgetMessageEdit", "actions" : [ { "context" : "envParam:quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "AcceptSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "RevokeSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "markAsSpamWithoutRedirect", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "MessagesWidgetAnswerForm", "actions" : [ { "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAnswerForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] } ], "componentId" : "forums.widget.message-view", "initiatorBinding" : true, "selector" : "#messageview", "parameters" : { "disableLabelLinks" : "false", "truncateBodyRetainsHtml" : "false", "forceSearchRequestParameterForBlurbBuilder" : "false", "kudosLinksDisabled" : "false", "useSubjectIcons" : "true", "quiltName" : "ForumMessage", "truncateBody" : "true", "message" : "499967", "includeRepliesModerationState" : "true", "useSimpleView" : "false", "useTruncatedSubject" : "true", "disableLinks" : "false", "messageViewOptions" : "1101110111111111111110111110100101111101", "displaySubject" : "true" }, "initiatorDataMatcher" : "data-lia-message-uid" }); ;(function($){ var topicMessageWrapper = $('.topic-message-wrapper'); if (window.location.href.indexOf('/page/') > -1) { $('.lia-forum-topic-page-topic-header.lia-component-thread-subject-header').attr('id','forumTopicHeader'); $('.lia-forum-topic-page-topic-header.lia-component-thread-subject-header').attr('style','display:block!important; visibility: visible!important;'); var messageWrapStyle = topicMessageWrapper.find('.lia-accepted-solution').length > 0 ? 'display:block!important; visibility: visible!important' : 'display:block!important; visibility: visible!important; margin-bottom: 90px'; topicMessageWrapper.attr('id','topicMessageWrapper'); topicMessageWrapper.attr('style', messageWrapStyle); } })(LITHIUM.jQuery); jQuery(document).ready(function() { // glowingblue: Replaced below with this modified snippet in the same terrible code style... jQuery("#msg-no-replies").on('click', function() { // simply proxy-click the first reply button to trigger default behavior... jQuery('.lia-action-reply:first').trigger('click'); }); // glowingblue: This throws an error because it can't read the offset of a non-existing form... /*jQuery("#msg-no-replies").on('click', function() { jQuery(".lia-placeholder-wrapper .lia-inline-message-reply-prompt-wrapper input").click(); let replyForm = jQuery('#form_0'); window.scrollTo(0, replyForm.offset().top + 200); })*/ jQuery(".InlineMessageEditorForm .lia-button-Submit-action").on('click', function() { var replyText = '1 Reply'; console.log(replyText); jQuery('section.message-without-replies .no-replies-card').hide(); var replies = jQuery('section.message-without-replies > h2'); replies.text(replyText); jQuery('').appendTo('body'); }); }) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1","feedbackSelector":".InfoMessage"}); LITHIUM.ThreadedDetailMessageList({"renderLoadMoreEvent":"LITHIUM:renderLoadMoreMessages","loadingText":"Loading...","placeholderClass":"lia-messages-threadedDetailList-placeholder","loadFetchSelector":"#threadeddetailmessagelist .lia-load-fetch","rootMessageId":499967,"loadPageNumber":1}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderLoadMoreMessages","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#threadeddetailmessagelist .lia-load-fetch","action":"renderLoadMoreMessages","feedbackSelector":"#ajaxFeedback","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist:renderloadmoremessages?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"w09ewQohtvfhKGCK-gOSp45cbCVSMbvuud-qHQfx47Y."}); LITHIUM.InlineMessageReplyEditor({"openEditsSelector":".lia-inline-message-edit","ajaxFeebackSelector":"#inlinemessagereplyeditor_0 .lia-inline-ajax-feedback","collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","topicMessageSelector":".lia-forum-topic-message-gte-5","focusEditor":false,"hidePlaceholderShowFormEvent":"LITHIUM:hidePlaceholderShowForm","formWrapperSelector":"#inlinemessagereplyeditor_0 .lia-form-wrapper","reRenderInlineEditorEvent":"LITHIUM:reRenderInlineEditor","ajaxBeforeSendEvent":"LITHIUM:ajaxBeforeSend:InlineMessageReply","element":"input","clientIdSelector":"#inlinemessagereplyeditor_0","loadAutosaveAction":false,"newPostPlaceholderSelector":".lia-new-post-placeholder","placeholderWrapperSelector":"#inlinemessagereplyeditor_0 .lia-placeholder-wrapper","messageId":499967,"formSelector":"#inlinemessagereplyeditor_0","expandedClass":"lia-inline-message-reply-form-expanded","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","newPostPlaceholderClass":"lia-new-post-placeholder","isLazyLoadEnabled":false,"editorLoadedEvent":"LITHIUM:editorLoaded","replyEditorPlaceholderWrapperCssClass":"lia-placeholder-wrapper","messageActionsClass":"lia-message-actions","cancelButtonSelector":"#inlinemessagereplyeditor_0 .lia-button-Cancel-action","isGteForumV5":true,"messageViewWrapperSelector":".lia-threaded-detail-display-message-view","disabledReplyClass":"lia-inline-message-reply-disabled-reply"}); LITHIUM.Text.set({"ajax.reRenderInlineEditor.loader.feedback.title":"Loading..."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"useLoader":true,"blockUI":"","event":"LITHIUM:reRenderInlineEditor","parameters":{"clientId":"inlinemessagereplyeditor_0"}},"tokenId":"ajax","elementSelector":"#inlinemessagereplyeditor_0","action":"reRenderInlineEditor","feedbackSelector":"#inlinemessagereplyeditor_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.inlinemessagereplyeditor_0:rerenderinlineeditor?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"8FK4t72NDBJdHRgtBTFMkm0WABynBpJoYCX9KfvePcg."}); LITHIUM.InlineMessageEditor({"ajaxFeebackSelector":"#inlinemessagereplyeditor_0 .lia-inline-ajax-feedback","submitButtonSelector":"#inlinemessagereplyeditor_0 .lia-button-Submit-action"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadComponent","parameters":{"componentId":"messages.widget.emoticons-lazy-load-runner"}},"tokenId":"ajax","elementSelector":"#inlinemessagereplyeditor_0","action":"lazyLoadComponent","feedbackSelector":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.inlinemessagereplyeditor_0:lazyloadcomponent?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"S4c0ACGA8lO_RUImKx6HARu-qekAzn-LaOOX12tnNXA."}); LITHIUM.lazyLoadComponent({"selectors":{"elementSelector":"#inlinemessagereplyeditor_0"},"events":{"lazyLoadComponentEvent":"LITHIUM:lazyLoadComponent"},"misc":{"isLazyLoadEnabled":false}}); (function($) { $(document).ready(function() { var pageName = 'ForumTopicPage'; var reply = window.location.hash.substr(1); if(reply =='reply') { if( pageName == 'BlogArticlePage') { $('.MessageEditor .lia-quilt-row.lia-quilt-row-standard').attr('id', 'reply'); $( window ).on( "load", function() { $('iframe').trigger("click"); }); } else { $('.lia-form-type-text.lia-inline-topic-div').attr('id', 'reply').trigger("click"); $('.lia-quilt-row.lia-quilt-row-standard.lia-input-edit-form-row').focus(); } } $('.lia-form-modbarwhats-hot-input').change(function(){ let valueHotsSel = $(this).find('option:selected').attr('description'); let currentFormId = $(this).closest('form').attr('id'); let currentForm = '#'+currentFormId+' input[name=form_instance_key]'; let CurrentIdMsg = $(currentForm).val(); console.log(CurrentIdMsg); $.get('/plugins/custom/hubspot/hubspot/custom-tags-rearrange?Msgid='+CurrentIdMsg+'&statusVal='+valueHotsSel) .done(function(data) { console.log(data); }).fail(function(err) { console.log(err); }) }); }); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function() { if ($("body.ForumTopicPage .lia-list-row-thread-readonly").length) { $("body.ForumTopicPage .no-replies-card").hide(); $('body.ForumTopicPage .lia-button-wrapper-secondary').addClass('lia-link-disabled').find('.reply-action-link').addClass('reply-action-link'); } else { $("body.ForumTopicPage .no-replies-card").show(); } }); })(LITHIUM.jQuery); LITHIUM.Components.renderInPlace('recommendations.widget.recommended-content-taplet', {"componentParams":"{\n \"mode\" : \"slim\",\n \"componentId\" : \"recommendations.widget.recommended-content-taplet\"\n}","componentId":"recommendations.widget.recommended-content-taplet"}, {"errorMessage":"An Unexpected Error has occurred.","type":"POST","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.recommendedcontenttaplet:lazyrender?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=recommendations/contributions/page"}, 'lazyload'); ;(function ($) { if ($(window).width() <= 991) { $(".community-footer .col:nth-child(3)").on('click',function(){ if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } else { $(".community-footer .col:nth-child(4) ul").addClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(1)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(2)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) } })(LITHIUM.jQuery); if (window.location.href.indexOf('/page/') != -1) { var siblings = document.getElementById('actionMenuDropDown').parentNode.childNodes; siblings[3].className = "hidden" siblings[5].className = "hidden" } (function($) { $(window).on('load', function() { $('.lia-quilt-forum-message > .lia-quilt-row-main,.lia-quilt-idea-message-item > .lia-quilt-row-main').each(function(){ $(this).find('.UserAvatar img').css("width","40px"); $(this).find('.UserAvatar img').css("border-radius","15px 0 15px 15px"); var href = $(this).find('.UserName > .lia-link-navigation').attr('href'); var img = $(this).find('.UserAvatar').html(); $(this).find('.UserAvatar').html(''+img+''); }); }); })(LITHIUM.jQuery); LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=board-id/opslifejp/thread-id/42/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"S0RyXfiE_rCyHRtlXYYi4-C_WmVN4seg64UAzkJqiIk."}); LITHIUM.Auth.API_URL = "/t5/util/authcheckpage"; LITHIUM.Auth.LOGIN_URL_TMPL = "https://app.hubspot.com/khoros/integration/jwt/authenticate?referer=https%3A%2F%2FREPLACE_TEXT"; LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive"; LITHIUM.Auth.KEEP_ALIVE_TIME = 300000; LITHIUM.Auth.CHECK_SESSION_TOKEN = '9WZhQ0XfuVW_1_7cD24dTLyi6wM3Ljy6B4dwIbPV7xk.'; LITHIUM.AjaxSupport.useTickets = false; LITHIUM.Loader.runJsAttached(); // -->