This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Unbind ctools textfield binding | |
$('input[type=text].ctools-auto-submit:not(.ctools-auto-submit-processed),.ctools-auto-submit-full-form input[type=text]:not(.ctools-auto-submit-processed)').unbind('keyup'); | |
// Bind to any textfield widgets that will be auto submitted. | |
$('input[type=text].ctools-auto-submit:not(.ctools-auto-submit-processed),.ctools-auto-submit-full-form input[type=text]:not(.ctools-auto-submit-processed)') | |
.addClass('.ctools-auto-submit-processed') | |
.blur(function () { | |
var form = this.form; | |
if (!$(form).hasClass('ctools-ajaxing')) { | |
$(form).find('.ctools-auto-submit-click').click(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/docroot/profiles/commons/modules/contrib/og/includes/og.membership.inc b/docroot/profiles/commons/modules/contrib/og/includes/og.membership.inc | |
index 5691354..daa6014 100644 | |
--- a/docroot/profiles/commons/modules/contrib/og/includes/og.membership.inc | |
+++ b/docroot/profiles/commons/modules/contrib/og/includes/og.membership.inc | |
@@ -23,8 +23,8 @@ class OgMembership extends Entity { | |
throw new OgException('OG membership can not be created for anonymous user.'); | |
} | |
- $wrapper = entity_metadata_wrapper($entity_type, $etid); | |
- $bundle = $wrapper->getBundle(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements hook_install(). | |
* | |
* Creates some default entries on this module custom table. | |
* | |
* @see hook_install() | |
* | |
* @ingroup lotus | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Drupal\Core\Database\Database; | |
function lotus_update_8001(&$sandbox) { | |
$spec = [ | |
'type' => 'varchar', | |
'description' => "New Col", | |
'length' => 20, | |
'not null' => FALSE, |