Browse Source

Merge branch 'develop'

version-14
Nabin Hait 10 years ago
parent
commit
47de1e1f87
6 changed files with 16 additions and 5 deletions
  1. +1
    -1
      frappe/__version__.py
  2. +2
    -2
      frappe/desk/form/meta.py
  3. +1
    -1
      frappe/hooks.py
  4. +4
    -0
      frappe/public/css/desk.css
  5. +7
    -0
      frappe/public/less/desk.less
  6. +1
    -1
      setup.py

+ 1
- 1
frappe/__version__.py View File

@@ -1,2 +1,2 @@
from __future__ import unicode_literals
__version__ = "5.0.22"
__version__ = "5.0.23"

+ 2
- 2
frappe/desk/form/meta.py View File

@@ -55,8 +55,6 @@ class FormMeta(Meta):
return d

def add_code(self):
if self.custom:
return
path = os.path.join(get_module_path(self.module), 'doctype', scrub(self.name))
def _get_path(fname):
return os.path.join(path, scrub(fname))
@@ -81,6 +79,8 @@ class FormMeta(Meta):
self.set(fieldname, (self.get(fieldname) or "") + "\n\n" + render_include(js))

def add_html_templates(self, path):
if self.custom:
return
js = ""
for fname in os.listdir(path):
if fname.endswith(".html"):


+ 1
- 1
frappe/hooks.py View File

@@ -4,7 +4,7 @@ app_title = "Frappe Framework"
app_publisher = "Frappe Technologies Pvt. Ltd."
app_description = "Full Stack Web Application Framework in Python"
app_icon = "octicon octicon-circuit-board"
app_version = "5.0.22"
app_version = "5.0.23"
app_color = "orange"

app_email = "support@frappe.io"


+ 4
- 0
frappe/public/css/desk.css View File

@@ -394,6 +394,10 @@ ul.linked-with-list li {
.modal-title {
margin-top: 5px;
}
.modal .form-control {
position: relative;
z-index: 1140;
}
.form-group {
margin-bottom: 7px;
}


+ 7
- 0
frappe/public/less/desk.less View File

@@ -224,6 +224,13 @@ ul.linked-with-list li {
margin-top: 5px;
}

// fixes datepicker z-index issue
// datepicker takes zindex of input + 1 when input's position is relative
.modal .form-control {
position: relative;
z-index: 1140;
}

.form-group {
margin-bottom: 7px;
}


+ 1
- 1
setup.py View File

@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

version = "5.0.22"
version = "5.0.23"

with open("requirements.txt", "r") as f:
install_requires = f.readlines()


Loading…
Cancel
Save