Procházet zdrojové kódy

[minor] [slickgrid] fixes #576 firefox issue

version-14
Rushabh Mehta před 12 roky
rodič
revize
11a61b49aa
3 změnil soubory, kde provedl 3 přidání a 7 odebrání
  1. +1
    -1
      core/doctype/doctype/doctype.py
  2. +1
    -5
      public/css/ui/common.css
  3. +1
    -1
      public/js/wn/views/query_report.js

+ 1
- 1
core/doctype/doctype/doctype.py Zobrazit soubor

@@ -224,7 +224,7 @@ def validate_fields(fields):
webnotes.msgprint("Minimum width for FieldType 'Currency' is 100px", raise_exception=1)

def check_in_list_view(d):
if d.in_list_view and d.fieldtype in no_value_fields:
if d.in_list_view and d.fieldtype!="Image" and (d.fieldtype in no_value_fields):
webnotes.msgprint("'In List View' not allowed for field of type '%s'" % d.fieldtype, raise_exception=1)

for d in fields:


+ 1
- 5
public/css/ui/common.css Zobrazit soubor

@@ -332,7 +332,7 @@ div#freeze {
font-size: 12px;
}

.slick-header, .slick-header * {
.slick-header-column {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
@@ -341,8 +341,6 @@ div#freeze {
.slick-headerrow-column {
background: #87ceeb;
text-overflow: clip;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.slick-headerrow-column input {
@@ -350,8 +348,6 @@ div#freeze {
padding: 0;
width: 100%;
min-height: 20px;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.missing-image {


+ 1
- 1
public/js/wn/views/query_report.js Zobrazit soubor

@@ -169,7 +169,7 @@ wn.views.QueryReport = Class.extend({
render: function(result, columns) {
this.columnFilters = {};
this.make_dataview();
this.id = wn.dom.set_unique_id($(this.wrapper.find(".result-area")).get(0));
this.id = wn.dom.set_unique_id(this.wrapper.find(".result-area").get(0));
this.grid = new Slick.Grid("#"+this.id, this.dataView, this.columns,
this.slickgrid_options);


Načítá se…
Zrušit
Uložit