Skip to content

Commit

Permalink
Merge pull request #14 from BeycanPress/alpha
Browse files Browse the repository at this point in the history
Alpha
  • Loading branch information
BeycanDeveloper authored May 1, 2024
2 parents 6d8f7d2 + 95336da commit 39a098a
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 39 deletions.
18 changes: 8 additions & 10 deletions app/PluginHero/templates/feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@
}

var deactivationUrl = '';
window.onload = function(){
$(document).on('click', 'tr[data-plugin="'+slug+'"] .column-primary .deactivate a', function(e){
e.preventDefault()
deactivationUrl = $(this).attr('href');
$('#'+pluginKey+'-feedback-modal').css('display', 'flex');
});
}
$(document).on('click', 'tr[data-plugin="'+slug+'"] .column-primary .deactivate a', function(e) {
e.preventDefault()
deactivationUrl = $(this).attr('href');
$('#'+pluginKey+'-feedback-modal').css('display', 'flex');
});

$(document).on('click', '.'+pluginKey+'-feedback-button-cancel', function(e){
$(document).on('click', '.'+pluginKey+'-feedback-button-cancel', function(e) {
e.preventDefault();
$('#'+pluginKey+'-feedback-modal').css('display', 'none');
});
Expand Down Expand Up @@ -75,12 +73,12 @@
}
}

$(document).on('click', '.'+pluginKey+'-feedback-skip', function(e){
$(document).on('click', '.'+pluginKey+'-feedback-skip', function(e) {
e.preventDefault();
deactivateProcess("I rather wouldn't say", 'rather-wouldnt-say');
});

$(document).on('click', '.'+pluginKey+'-feedback-button-deactivate', function(e){
$(document).on('click', '.'+pluginKey+'-feedback-button-deactivate', function(e) {
e.preventDefault();
var reason = $('.'+pluginKey+'_deactivation_reason:checked').val();
var detail = $('#'+pluginKey+'_deactivation_reason_detail').val();
Expand Down
18 changes: 8 additions & 10 deletions assets/js/feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@
}

var deactivationUrl = '';
window.onload = function(){
$(document).on('click', 'tr[data-plugin="'+slug+'"] .column-primary .deactivate a', function(e){
e.preventDefault()
deactivationUrl = $(this).attr('href');
$('#'+pluginKey+'-feedback-modal').css('display', 'flex');
});
}
$(document).on('click', 'tr[data-plugin="'+slug+'"] .column-primary .deactivate a', function(e) {
e.preventDefault()
deactivationUrl = $(this).attr('href');
$('#'+pluginKey+'-feedback-modal').css('display', 'flex');
});

$(document).on('click', '.'+pluginKey+'-feedback-button-cancel', function(e){
$(document).on('click', '.'+pluginKey+'-feedback-button-cancel', function(e) {
e.preventDefault();
$('#'+pluginKey+'-feedback-modal').css('display', 'none');
});
Expand Down Expand Up @@ -75,12 +73,12 @@
}
}

$(document).on('click', '.'+pluginKey+'-feedback-skip', function(e){
$(document).on('click', '.'+pluginKey+'-feedback-skip', function(e) {
e.preventDefault();
deactivateProcess("I rather wouldn't say", 'rather-wouldnt-say');
});

$(document).on('click', '.'+pluginKey+'-feedback-button-deactivate', function(e){
$(document).on('click', '.'+pluginKey+'-feedback-button-deactivate', function(e) {
e.preventDefault();
var reason = $('.'+pluginKey+'_deactivation_reason:checked').val();
var detail = $('#'+pluginKey+'_deactivation_reason_detail').val();
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vendor/beycanpress/csf/classes/metabox-options.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ class CSF_Metabox extends CSF_Abstract{
'defaults' => array(),
);

public $post_formats = array();

public $page_templates = array();

// run metabox construct
public function __construct( $key, $params = array() ) {

Expand Down
2 changes: 1 addition & 1 deletion vendor/beycanpress/csf/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "beycanpress/csf",
"description": "Codestar Framework composer package",
"version": "2.3.4",
"version": "2.3.5",
"type": "library",
"license": "GPL-2.0",
"author": "BeycanPress",
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"packages": [
{
"name": "beycanpress/csf",
"version": "2.3.4",
"version_normalized": "2.3.4.0",
"version": "2.3.5",
"version_normalized": "2.3.5.0",
"source": {
"type": "git",
"url": "https://github.com/BeycanPress/csf.git",
"reference": "f8db82b6339e69cbb765496d623789e7f472977e"
"reference": "8abd652032c4f49cbacd9f838d5f987dd80d81a2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/BeycanPress/csf/zipball/f8db82b6339e69cbb765496d623789e7f472977e",
"reference": "f8db82b6339e69cbb765496d623789e7f472977e",
"url": "https://api.github.com/repos/BeycanPress/csf/zipball/8abd652032c4f49cbacd9f838d5f987dd80d81a2",
"reference": "8abd652032c4f49cbacd9f838d5f987dd80d81a2",
"shasum": ""
},
"time": "2023-12-06T04:35:59+00:00",
"time": "2024-05-01T02:48:38+00:00",
"type": "library",
"installation-source": "dist",
"notification-url": "https://packagist.org/downloads/",
Expand All @@ -26,7 +26,7 @@
"homepage": "https://github.com/BeycanPress/csf",
"support": {
"issues": "https://github.com/BeycanPress/csf/issues",
"source": "https://github.com/BeycanPress/csf/tree/2.3.4"
"source": "https://github.com/BeycanPress/csf/tree/2.3.5"
},
"install-path": "../beycanpress/csf"
},
Expand Down
10 changes: 5 additions & 5 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '6a6d190d3e0aab9cad4590519277b8caf4c8919f',
'reference' => '9b2016b87fac44cfd8c8cfaf82023e20b7caa376',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,16 +13,16 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '6a6d190d3e0aab9cad4590519277b8caf4c8919f',
'reference' => '9b2016b87fac44cfd8c8cfaf82023e20b7caa376',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'beycanpress/csf' => array(
'pretty_version' => '2.3.4',
'version' => '2.3.4.0',
'reference' => 'f8db82b6339e69cbb765496d623789e7f472977e',
'pretty_version' => '2.3.5',
'version' => '2.3.5.0',
'reference' => '8abd652032c4f49cbacd9f838d5f987dd80d81a2',
'type' => 'library',
'install_path' => __DIR__ . '/../beycanpress/csf',
'aliases' => array(),
Expand Down

0 comments on commit 39a098a

Please sign in to comment.