From caf4dd1671c16d6f1bda1b33f2fd982424360b61 Mon Sep 17 00:00:00 2001
From: Jayaram Pai
Date: Tue, 29 Apr 2014 08:46:18 +0530
Subject: updated uncommitted files
---
css/scilab_fixer.css | 3 +++
scilab_fixer.module | 2 ++
2 files changed, 5 insertions(+)
diff --git a/css/scilab_fixer.css b/css/scilab_fixer.css
index 37097a0..2468fb4 100644
--- a/css/scilab_fixer.css
+++ b/css/scilab_fixer.css
@@ -6,6 +6,9 @@
width: 620px;
overflow-x: auto;
}
+#fix-caption-form #edit-example {
+ height: 250px;
+}
#fix-caption-page #updating,
#fix-caption-page #done {
display: none;
diff --git a/scilab_fixer.module b/scilab_fixer.module
index ce214cf..fb1a831 100755
--- a/scilab_fixer.module
+++ b/scilab_fixer.module
@@ -94,6 +94,7 @@
$page_content .= "Done.";
$page_content .= drupal_get_form("scilab_fixer_caption_form");
$page_content .= "";
+ $page_content .= "* Selecting text from above code-area with mouse will add it to the caption textbox.";
return $page_content;
}
@@ -162,5 +163,6 @@
function scilab_fixer_init() {
drupal_add_css(drupal_get_path("module", "scilab_fixer") . "/css/scilab_fixer.css");
drupal_add_js(drupal_get_path("module", "scilab_fixer") . "/js/scilab_fixer.js");
+ drupal_add_js(drupal_get_path("module", "scilab_fixer") . "/js/selection.js");
}
?>
--
cgit